Fix tests
This commit is contained in:
parent
c4caa89338
commit
c6bad69cda
|
@ -264,10 +264,7 @@ describe("Navigation store", () => {
|
||||||
|
|
||||||
await ctx.test.navigationStore.save(update)
|
await ctx.test.navigationStore.save(update)
|
||||||
|
|
||||||
expect(saveSpy).toHaveBeenCalledWith({
|
expect(saveSpy).toHaveBeenCalledWith("testing_123", { navigation: update })
|
||||||
appId: "testing_123",
|
|
||||||
metadata: { navigation: update },
|
|
||||||
})
|
|
||||||
|
|
||||||
expect(ctx.test.store.links.length).toBe(3)
|
expect(ctx.test.store.links.length).toBe(3)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue