We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1864f3 commit c7ab7d5Copy full SHA for c7ab7d5
test/FPUser.test.ts
@@ -6,7 +6,7 @@ test("user init", (done) => {
6
expect(user.getKey() != undefined);
7
setTimeout(() => {
8
const key2 = user.getKey();
9
- expect(key == key2);
+ expect(key).toBe(key2);
10
done();
11
}, 10);
12
});
@@ -20,12 +20,12 @@ test("user attr", () => {
20
test("user attrs", () => {
21
const attrs = { city: "1" };
22
let user = new FPUser().extendAttrs(attrs);
23
- expect(user.getAttrs() == attrs);
+ expect(user.getAttrs()).toBe(attrs);
24
25
26
test("user stable key", () => {
27
let user = new FPUser();
28
let stableKey = "12jofjaewf";
29
user.stableRollout(stableKey);
30
- expect(user.getKey() == stableKey);
+ expect(user.getKey()).toBe(stableKey);
31
0 commit comments