Files
expo-cli/jest/babel.config.js
T
Cedric van Putten b49f88d1f0 [expo-cli] unify and remove duplicated jest configuration (#2117)
* refactor: simplify and unify all jest config

* chore: add missing projects to root jest

* refactor: remove package file jest config

* refactor(dev-tools): remove extraneous default config override

* refactor(dev-server): add roots back to jest config

* chore: add test script to root package file
2020-05-20 22:24:17 +02:00

12 lines
204 B
JavaScript

module.exports = function (api) {
api.cache(true);
return {
// Only use this when running tests
env: {
test: {
presets: ['../packages/babel-preset-cli'],
},
},
};
};