Skip to content

Commit

Permalink
test: fix test result
Browse files Browse the repository at this point in the history
  • Loading branch information
gz65555 committed Feb 21, 2023
1 parent 74ce4d4 commit 7e690c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/math/Vector3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,6 @@ describe("Vector3 test", () => {

it("toJSON", () => {
const a = new Vector3(2, 3, 4);
expect(JSON.stringify(a)).to.eq("{x:2,y:3,z:4}");
expect(JSON.stringify(a)).to.eq('{"x":2,"y":3,"z":4}');
});
});

0 comments on commit 7e690c3

Please sign in to comment.