mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-08-15 18:45:06 +00:00
[change] Remove jest preset
Also add node-based unit tests for SSR APIs.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
coveragePathIgnorePatterns: ['/node_modules/', '<rootDir>/packages/react-native-web/src/vendor/'],
|
||||
modulePathIgnorePatterns: [
|
||||
'<rootDir>/packages/benchmarks/',
|
||||
'<rootDir>/packages/docs/',
|
||||
'<rootDir>/packages/examples/',
|
||||
'<rootDir>/packages/react-native-web/dist/'
|
||||
],
|
||||
rootDir: process.cwd(),
|
||||
roots: ['<rootDir>/packages'],
|
||||
snapshotFormat: {
|
||||
printBasicPrototype: false
|
||||
},
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/__tests__/**/?(*-)+(spec|test).node.[jt]s?(x)'],
|
||||
timers: 'fake'
|
||||
};
|
||||
Reference in New Issue
Block a user