-
Jed Fox authored
* Run `yarn dedupe` * Update to better-sqlite3@latest * Remove react-native * Remove a bunch more unused deps * Update mitt to 3.0 * Remove a few more * Remove react-native-gesture-handler * Revert "Update to better-sqlite3@latest" This reverts commit d436bc8d73f2745f484def4e40596322d0c56458. * Dedupe better-sqlite3 versions * snapshots! * Fix jsdom error * Revert "Dedupe better-sqlite3 versions" This reverts commit f99d2ab6f9311663e3312ab5b00bc81c068f040d. * Add back jest-watch-typeahead * Fix conflicting Jest version (The jest-environment-jsdom package that is magically available seems to only be compatible with Jest 27)
Jed Fox authored* Run `yarn dedupe` * Update to better-sqlite3@latest * Remove react-native * Remove a bunch more unused deps * Update mitt to 3.0 * Remove a few more * Remove react-native-gesture-handler * Revert "Update to better-sqlite3@latest" This reverts commit d436bc8d73f2745f484def4e40596322d0c56458. * Dedupe better-sqlite3 versions * snapshots! * Fix jsdom error * Revert "Dedupe better-sqlite3 versions" This reverts commit f99d2ab6f9311663e3312ab5b00bc81c068f040d. * Add back jest-watch-typeahead * Fix conflicting Jest version (The jest-environment-jsdom package that is magically available seems to only be compatible with Jest 27)
jest.config.js 415 B
module.exports = {
moduleFileExtensions: ['testing.js', 'web.js', 'mjs', 'js', 'ts', 'json'],
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/src/setupTests.js'],
testPathIgnorePatterns: [
'/node_modules/',
'/lib/',
'/src/components/mobile/',
],
moduleNameMapper: {
'^.+\\.(css|sass|scss)$': 'identity-obj-proxy',
'^.+\\.(png)$': '<rootDir>/__mocks__/fileMock.js',
},
};