fix jest config setup

This commit is contained in:
Dexter 2022-03-18 10:35:48 +00:00
parent 0a28d5e111
commit 504f088f00
4 changed files with 1 additions and 4 deletions

View File

@ -7,4 +7,5 @@ module.exports = {
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../coverage/apps/explorer',
setupFilesAfterEnv: ['./src/app/setupTests.ts'],
};

View File

@ -1,5 +1,4 @@
import { render, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import { SecondsAgo } from './index';

View File

@ -1,5 +1,4 @@
import { render } from '@testing-library/react';
import '@testing-library/jest-dom';
import { Table, TableRow, TableHeader, TableCell } from './index';

View File

@ -1,6 +1,4 @@
import { render, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import { TruncateInline } from './truncate';
describe('Truncate', () => {