Skip to content

Commit

Permalink
feat(vue): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jujulego committed Aug 7, 2022
1 parent 582baff commit 30879b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue/tests/composables/useAegisMutation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ describe('useAegisMutation', () => {
const isLoading$ = computed(() => list$.value.isLoading);
const result$ = computed(() => list$.value.result);

expect(isLoading$.value).toBe(false);
expect(result$.value).toEqual([]);
expect(isLoading$.value).toBe(true);
expect(result$.value).toBeUndefined();

// Complete query
query.complete({ id: 'test', success: true });
Expand Down

0 comments on commit 30879b5

Please sign in to comment.