forked from deriv-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetupTests.js
More file actions
24 lines (20 loc) · 708 Bytes
/
setupTests.js
File metadata and controls
24 lines (20 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
* This file created to use in `setupFilesAfterEnv` in jest setup
* For more info about it please check the link below
* https://jestjs.io/docs/configuration#setupfilesafterenv-array
* */
/** provides a set of custom jest matchers that you can use to extend jest.
* These will make your tests more declarative, clear to read and to maintain. */
import '@testing-library/jest-dom';
/**
* jest-extended aims to add additional matchers to Jest's default ones making it easy to test everything raised_hands
*/
import 'jest-extended';
/**
* Chain Jest matchers together to write easier matchers and reduce code.
*/
import 'jest-chain';
/**
* Setup Global mocks
*/
import './__mocks__/globals';