Skip to content

Commit 1c66e16

Browse files
test(guardObjectKey): fix callback
1 parent d40d013 commit 1c66e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/type/src/guard/test/guard-object-key.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe(guardObjectKey.name , () => {
1616
it('callback', () => {
1717
guardObjectKey<TestClass>(TEST_CLASS, ['firstName', 'surname'], (result: boolean, value: TestClass) => {
1818
expect(result).toBe(TRUE);
19-
expect(value).toEqual(CLASS);
19+
expect(value).toEqual(TEST_CLASS);
2020
return result;
2121
});
2222
});

0 commit comments

Comments
 (0)