fix jest config setup
This commit is contained in:
parent
0a28d5e111
commit
504f088f00
@ -7,4 +7,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/apps/explorer',
|
coverageDirectory: '../../coverage/apps/explorer',
|
||||||
|
setupFilesAfterEnv: ['./src/app/setupTests.ts'],
|
||||||
};
|
};
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { render, screen } from '@testing-library/react';
|
import { render, screen } from '@testing-library/react';
|
||||||
import '@testing-library/jest-dom';
|
|
||||||
|
|
||||||
import { SecondsAgo } from './index';
|
import { SecondsAgo } from './index';
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { render } from '@testing-library/react';
|
import { render } from '@testing-library/react';
|
||||||
import '@testing-library/jest-dom';
|
|
||||||
|
|
||||||
import { Table, TableRow, TableHeader, TableCell } from './index';
|
import { Table, TableRow, TableHeader, TableCell } from './index';
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import { render, screen } from '@testing-library/react';
|
import { render, screen } from '@testing-library/react';
|
||||||
import '@testing-library/jest-dom';
|
|
||||||
|
|
||||||
import { TruncateInline } from './truncate';
|
import { TruncateInline } from './truncate';
|
||||||
|
|
||||||
describe('Truncate', () => {
|
describe('Truncate', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user