This commit is contained in:
2019-07-06 00:36:18 +02:00
parent 4db704759e
commit baea9498be
16 changed files with 157 additions and 39 deletions

9
jest.config.js Normal file
View File

@@ -0,0 +1,9 @@
const path = require('path');
module.exports = {
preset: 'react-native',
rootDir: path.join(__dirname, 'packages'),
moduleNameMapper: {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': path.join(__dirname, '__mocks__', 'fileMock.js'),
},
};