Skip to content

Commit

Permalink
fix: test and avoid jest deprecation message (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quraian authored Apr 26, 2021
1 parent 03bf1c9 commit fac4d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rx-query/__tests__/query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ it('invokes query on focus', async () => {

setTimeout(() => {
fireEvent.focus(window);
}, 10);
}, 100);

for await (const value of eachValueFrom(
query('test', () => of(i++), {
Expand Down
2 changes: 1 addition & 1 deletion src/setup-test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'jest-preset-angular';
import 'jest-preset-angular/setup-jest';
import '@testing-library/jest-dom';
import { server } from './mocks/server';

Expand Down

0 comments on commit fac4d23

Please sign in to comment.