mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:27:34 +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:
parent
76239f89c2
commit
5122f98198
24 changed files with 100 additions and 79 deletions
|
@ -34,6 +34,9 @@ test("basic functionality", () => {
|
|||
expect(s.endsWith("", -1)).toBeTrue();
|
||||
expect(s.endsWith("", 42)).toBeTrue();
|
||||
expect("12undefined".endsWith()).toBeTrue();
|
||||
expect(() => s.endsWith(/foobar/)).toThrowWithMessage(TypeError, "searchString is not a string, but a regular expression");
|
||||
expect(() => s.endsWith(/foobar/)).toThrowWithMessage(
|
||||
TypeError,
|
||||
"searchString is not a string, but a regular expression"
|
||||
);
|
||||
expect(s.endsWith("bar", undefined)).toBeTrue();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue