1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:38:11 +00:00

Base+LibJS+LibWeb: Make prettier clean

Also use "// prettier-ignore" comments where necessary rather than
excluding whole files (via .prettierignore).
This commit is contained in:
Linus Groh 2020-12-26 16:24:24 +01:00 committed by Andreas Kling
parent 76239f89c2
commit 5122f98198
24 changed files with 100 additions and 79 deletions

View file

@ -7,6 +7,9 @@ test("basic functionality", () => {
}).toThrowWithMessage(TypeError, "Cannot assign property foo to primitive value");
expect(() => {
primitive[Symbol.hasInstance] = 123;
}).toThrowWithMessage(TypeError, "Cannot assign property Symbol(Symbol.hasInstance) to primitive value");
}).toThrowWithMessage(
TypeError,
"Cannot assign property Symbol(Symbol.hasInstance) to primitive value"
);
});
});