Skip to content

Commit

Permalink
Fixes property comparison on linked resource property
Browse files Browse the repository at this point in the history
  • Loading branch information
JDurstberger committed Dec 18, 2023
1 parent e743909 commit 4fcf19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/navigator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 4fcf19b

Please sign in to comment.