1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-06 12:02:40 +03:00

Remove dead code (#2510)

This commit is contained in:
Šimon Brandner
2022-07-11 09:46:50 +02:00
committed by GitHub
parent 9a6dccb79b
commit c4f7e4d5aa
4 changed files with 0 additions and 109 deletions

View File

@@ -109,18 +109,6 @@ describe("utils", function() {
});
});
describe("checkObjectHasNoAdditionalKeys", function() {
it("should throw for extra keys", function() {
expect(function() {
utils.checkObjectHasNoAdditionalKeys({ foo: "bar", baz: 4 }, ["foo"]);
}).toThrow();
expect(function() {
utils.checkObjectHasNoAdditionalKeys({ foo: "bar" }, ["foo"]);
}).not.toThrow();
});
});
describe("deepCompare", function() {
const assert = {
isTrue: function(x: any) {