Skip to content

Commit

Permalink
Update new tests for updated data structures
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Aug 15, 2022
1 parent 4975ea9 commit 0667a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchanges/graphcache/src/store/store.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ describe('Store with OptimisticMutationConfig', () => {
);

const deps = InMemoryData.getCurrentDependencies();
expect(deps).toEqual({ 'Todo:0': true });
expect(deps).toEqual(new Set(['Todo:0']));

const { data } = query(store, { query: Todos });

Expand Down Expand Up @@ -612,7 +612,7 @@ describe('Store with OptimisticMutationConfig', () => {
);

const deps = InMemoryData.getCurrentDependencies();
expect(deps).toEqual({ 'Todo:0': true });
expect(deps).toEqual(new Set(['Todo:0']));

expect(result).toEqual({
id: '0',
Expand Down

0 comments on commit 0667a26

Please sign in to comment.