Skip to content

Commit 1b1c324

Browse files
committed
test: change toBe to toStrictEqual
1 parent 5b9236b commit 1b1c324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/FPUser.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test("user attr", () => {
2020
test("user attrs", () => {
2121
const attrs = { city: "1" };
2222
let user = new FPUser().extendAttrs(attrs);
23-
expect(user.getAttrs()).toBe(attrs);
23+
expect(user.getAttrs()).toStrictEqual(attrs);
2424
});
2525

2626
test("user stable key", () => {

0 commit comments

Comments
 (0)