xref: /expo/packages/@expo/server/jest.config.js (revision 229dec0d)
1const path = require('path');
2
3module.exports = {
4  testEnvironment: 'node',
5  testRegex: '/__tests__/.*(test|spec)\\.[jt]sx?$',
6  watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
7  clearMocks: true,
8  rootDir: path.resolve(__dirname),
9  displayName: require('./package').name,
10  roots: ['../cli/__mocks__', 'src'],
11  setupFiles: ['<rootDir>/../cli/e2e/setup.ts'],
12};
13