Skip to content

Commit

Permalink
test(imgloader): use 'act' from '@testing-library/react'
Browse files Browse the repository at this point in the history
  • Loading branch information
aneurysmjs committed Feb 10, 2020
1 parent f0aa864 commit e853320
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 63 deletions.
3 changes: 1 addition & 2 deletions src/app/components/common/ImgLoader/ImgLoader.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import React from 'react';
import { act } from 'react-test-renderer';
import { cleanup, render, RenderResult } from '@testing-library/react';
import { cleanup, render, RenderResult, act } from '@testing-library/react';

import ImgLoader from './ImgLoader';

Expand Down
28 changes: 0 additions & 28 deletions src/app/components/common/LazyComponent/LazyComponent.test.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions src/app/components/common/LazyComponent/LazyComponent.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/app/components/common/LazyComponent/index.tsx

This file was deleted.

0 comments on commit e853320

Please sign in to comment.