mirror of
https://github.com/expo/react-native-community-cli.git
synced 2026-11-15 09:18:35 -10:00
* 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
19 lines
427 B
JavaScript
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'],
|
|
},
|
|
],
|
|
};
|