diff --git a/test/navigator.test.ts b/test/navigator.test.ts index 1488b10..6dd05e7 100644 --- a/test/navigator.test.ts +++ b/test/navigator.test.ts @@ -137,7 +137,7 @@ describe('navigator', () => { const navigator = await discoveryNavigator.get(relation) - expect(navigator.resource.getProperty(key)).toStrictEqual(value) + expect(JSON.stringify(navigator.resource.getProperty(key))).toStrictEqual(JSON.stringify(value)) }) test('throws when attempting to get link that does not exist on resource', async () => {