Skip to content

Commit 417d8c2

Browse files
committed
test: Remove attributes according to change in cozy-client
see cozy/cozy-client#1507
1 parent 9885783 commit 417d8c2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/cozy-harvest-lib/src/components/hooks/useAppLinkWithStoreFallback.spec.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ describe('useAppLinkWithStoreFallback', () => {
3030
mockClient.query.mockResolvedValue({
3131
data: [
3232
{
33-
attributes: {
34-
slug: testAppSlug
35-
},
33+
slug: testAppSlug,
3634
links: { related: 'http://testapp.cozy.io' }
3735
}
3836
]
@@ -52,9 +50,7 @@ describe('useAppLinkWithStoreFallback', () => {
5250
mockClient.query.mockResolvedValue({
5351
data: [
5452
{
55-
attributes: {
56-
slug: 'store'
57-
},
53+
slug: 'store',
5854
links: { related: 'http://store.cozy.io' }
5955
}
6056
]

0 commit comments

Comments
 (0)