Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit a1d9147

Browse files
simartnSimon Nagl
authored and
Simon Nagl
committed
Fix test assertion
1 parent 5a5ad59 commit a1d9147

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/JsogSpec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ describe('Deserializing Annotated String Types', () => {
112112
const deserialized = jsog.deserializeObject(withType, WithType);
113113

114114
it('should work', () => {
115-
expect(deserialized).toEqual(withType);
115+
expect(deserialized instanceof WithType).toBeTruthy();
116+
expect(deserialized.dtype).toEqual(withType.dtype);
116117
});
117118
});

0 commit comments

Comments
 (0)