mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
4148038444
* 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>
22 lines
404 B
JavaScript
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'],
|
|
},
|
|
},
|
|
};
|