Migrate to stylistic
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -74,6 +74,7 @@ describe("MegolmExportEncryption", function () {
|
||||
subtle: webCrypto.subtle,
|
||||
},
|
||||
});
|
||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||
MegolmExportEncryption = require("../../../src/utils/MegolmExportEncryption");
|
||||
});
|
||||
|
||||
|
||||
@@ -218,7 +218,9 @@ describe("SessionLock", () => {
|
||||
const window2 = createWindow();
|
||||
|
||||
// import the dependencies of getSessionLock into the new context
|
||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||
window2._uuid = require("uuid");
|
||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||
window2._logger = require("matrix-js-sdk/src/logger");
|
||||
window2.SESSION_LOCK_CONSTANTS = SESSION_LOCK_CONSTANTS;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ describe("Singleflight", () => {
|
||||
});
|
||||
|
||||
it("should throw for bad context variables", () => {
|
||||
const permutations: [Object | null, string | null][] = [
|
||||
const permutations: [object | null, string | null][] = [
|
||||
[null, null],
|
||||
[{}, null],
|
||||
[null, "test"],
|
||||
|
||||
Reference in New Issue
Block a user