Files
react-native-community-cli/jest.config.js
Kacper WiszczukandMichał Pierzchała b03f7413cc chore: migrate tools to TypeScript (#296)
* Migrate tools package to Typescript

* Prebuild ts

* Improve yarn build-clean

* Remove unnecessary statements

* Fix linting

* Fix eslint

* Update packages/tools/src/isPackagerRunning.ts

Co-Authored-By: Michał Pierzchała <[email protected]>

* adjust package.json

* add vscode helper settings

* remove dead node-fetch references
2019-05-17 22:32:54 +02:00

19 lines
427 B
JavaScript

const common = {testEnvironment: 'node'};
module.exports = {
projects: [
{
...common,
displayName: 'e2e',
setupFiles: ['<rootDir>/jest/setupE2eTests.js'],
testMatch: ['<rootDir>/**/__e2e__/*{.,-}test.js'],
},
{
...common,
displayName: 'unit',
setupFiles: ['<rootDir>/jest/setupUnitTests.js'],
testMatch: ['<rootDir>/**/__tests__/*{.,-}test.[jt]s'],
},
],
};