Skip to content

Commit

Permalink
test: Added a missed test
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed Aug 27, 2022
1 parent b7a0799 commit a94d590
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/rx-effects/src/store.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@ describe('Store', () => {
expect(changes).toEqual(['a,1', 'b,3']);
});
});

describe('asQuery()', () => {
it('should return the same store', () => {
const store = createStore(1);
const query = store.asQuery();

expect(query).toBe(store);
});
});
});

describe('Concurrent Store updates', () => {
Expand Down

0 comments on commit a94d590

Please sign in to comment.