Files
callstack__react-native-tes…/babel.config.js
T
Pierre Zimmermann 4148038444 fix: flatlist not rendering in rntl repo (#1467)
* fix: flatlist not rendering in rntl repo

* refactor: move render tests to RN tests file

---------

Co-authored-by: pierrezimmermann <pierrez@nam.tech>
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2023-08-22 11:24:30 +02:00

22 lines
404 B
JavaScript

module.exports = {
presets: [
'@babel/preset-typescript',
'@babel/preset-react',
[
'@babel/preset-env',
{
targets: {
node: '14',
},
bugfixes: true,
},
],
],
env: {
test: {
// https://github.com/react-native-community/upgrade-support/issues/152
plugins: ['@babel/plugin-transform-flow-strip-types'],
},
},
};