mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
test-js: Use prettier and format all files
This commit is contained in:
parent
e532888242
commit
6d58c48c2f
248 changed files with 8291 additions and 7725 deletions
|
@ -1,13 +1,13 @@
|
|||
test("basic functionality", () => {
|
||||
const nan = undefined + 1;
|
||||
const nan = undefined + 1;
|
||||
|
||||
expect(nan + "").toBe("NaN");
|
||||
expect(NaN + "").toBe("NaN");
|
||||
expect(nan !== nan).toBeTrue();
|
||||
expect(NaN !== NaN).toBeTrue();
|
||||
expect(nan).toBeNaN();
|
||||
expect(NaN).toBeNaN();
|
||||
expect(0).not.toBeNaN();
|
||||
expect(!!nan).toBeFalse();
|
||||
expect(!!NaN).toBeFalse();
|
||||
expect(nan + "").toBe("NaN");
|
||||
expect(NaN + "").toBe("NaN");
|
||||
expect(nan !== nan).toBeTrue();
|
||||
expect(NaN !== NaN).toBeTrue();
|
||||
expect(nan).toBeNaN();
|
||||
expect(NaN).toBeNaN();
|
||||
expect(0).not.toBeNaN();
|
||||
expect(!!nan).toBeFalse();
|
||||
expect(!!NaN).toBeFalse();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue