mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 08:51:05 +08:00
DEV: Convert more equal
assertions (#29554)
…to either qunit-dom or `strictEqual`
This commit is contained in:
@ -31,7 +31,10 @@ module("Chat | Unit | Utility | plugin-api", function (hooks) {
|
||||
test("#removeChatComposerSecondaryActions", async function (assert) {
|
||||
withPluginApi("1.1.0", async (api) => {
|
||||
// assert that the api method is defined
|
||||
assert.equal(typeof api.removeChatComposerSecondaryActions, "function");
|
||||
assert.strictEqual(
|
||||
typeof api.removeChatComposerSecondaryActions,
|
||||
"function"
|
||||
);
|
||||
|
||||
logIn();
|
||||
const currentUser = User.current();
|
||||
|
Reference in New Issue
Block a user