mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-22 14:21:44 +00:00
[change] Text uses createContext
Replaces the legacy 'contextTypes' API. Removes 'enzyme' from related tests. Back to recording DOM snapshots. Close #1248 Ref #1172
This commit is contained in:
@@ -11,7 +11,10 @@ module.exports = {
|
||||
rootDir: process.cwd(),
|
||||
roots: ['<rootDir>/packages'],
|
||||
setupFiles: ['jest-canvas-mock'],
|
||||
setupFilesAfterEnv: [require.resolve('./setupFramework.js')],
|
||||
setupFilesAfterEnv: [
|
||||
'@testing-library/react/cleanup-after-each',
|
||||
require.resolve('./setupFramework.js')
|
||||
],
|
||||
snapshotSerializers: ['enzyme-to-json/serializer'],
|
||||
testEnvironment: 'jsdom',
|
||||
timers: 'fake'
|
||||
|
||||
Reference in New Issue
Block a user