Fix last tests

parent 397111f5
{
"presets": [
"module:react-native-dotenv",
"module:metro-react-native-babel-preset"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-regenerator",
"@babel/plugin-transform-runtime",
]
}
......@@ -28,6 +28,7 @@ exports[`MemberView component renders correctly 1`] = `
}
>
<View
accessibilityIgnoresInvertColors={true}
style={
Object {
"flex": 1,
......@@ -64,7 +65,19 @@ exports[`MemberView component renders correctly 1`] = `
4278190080,
]
}
endPoint={
Object {
"x": 0.5,
"y": 1,
}
}
locations={null}
startPoint={
Object {
"x": 0.5,
"y": 0,
}
}
style={
Object {
"bottom": 0,
......
......@@ -26,6 +26,7 @@ exports[`Sidebar component renders correctly 1`] = `
}
>
<View
accessibilityIgnoresInvertColors={true}
style={
Object {
"flexDirection": "column",
......@@ -68,7 +69,19 @@ exports[`Sidebar component renders correctly 1`] = `
4278190080,
]
}
endPoint={
Object {
"x": 0.5,
"y": 1,
}
}
locations={null}
startPoint={
Object {
"x": 0.5,
"y": 0,
}
}
style={
Object {
"bottom": 0,
......@@ -161,7 +174,6 @@ exports[`Sidebar component renders correctly 1`] = `
>
<Text
allowFontScaling={false}
onPress={[Function]}
style={
Array [
Object {
......@@ -183,6 +195,7 @@ exports[`Sidebar component renders correctly 1`] = `
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
......@@ -252,7 +265,6 @@ exports[`Sidebar component renders correctly 1`] = `
>
<Text
allowFontScaling={false}
onPress={[Function]}
style={
Array [
Object {
......@@ -274,6 +286,7 @@ exports[`Sidebar component renders correctly 1`] = `
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
......@@ -343,7 +356,6 @@ exports[`Sidebar component renders correctly 1`] = `
>
<Text
allowFontScaling={false}
onPress={[Function]}
style={
Array [
Object {
......@@ -365,6 +377,7 @@ exports[`Sidebar component renders correctly 1`] = `
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
......@@ -434,7 +447,6 @@ exports[`Sidebar component renders correctly 1`] = `
>
<Text
allowFontScaling={false}
onPress={[Function]}
style={
Array [
Object {
......@@ -456,6 +468,7 @@ exports[`Sidebar component renders correctly 1`] = `
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
......@@ -528,7 +541,6 @@ exports[`Sidebar component renders correctly 1`] = `
>
<Text
allowFontScaling={false}
onPress={[Function]}
style={
Array [
Object {
......@@ -550,6 +562,7 @@ exports[`Sidebar component renders correctly 1`] = `
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
......
......@@ -59,6 +59,7 @@ exports[`StandardHeader component renders correctly on Android 1`] = `
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
......@@ -153,6 +154,7 @@ exports[`StandardHeader component renders correctly on iOS 1`] = `
"fontStyle": "normal",
"fontWeight": "normal",
},
Object {},
]
}
>
......
module.exports = (api) => {
api.cache(false);
return {
presets: [
'module:react-native-dotenv',
'module:metro-react-native-babel-preset',
],
plugins: [
'@babel/plugin-transform-flow-strip-types',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-regenerator',
'@babel/plugin-transform-runtime',
],
};
};
......@@ -53,7 +53,7 @@ module.exports = {
enableBabelRuntime: false,
experimentalImportSupport: false,
hot: false,
inlineRequires: true,
inlineRequires: false,
minify: false,
platform: '',
projectRoot: '',
......
......@@ -40,7 +40,7 @@
"^.+\\.js$": "<rootDir>/jest/preprocessor.js"
},
"transformIgnorePatterns": [
"node_modules/(?!react-native|react-navigation/)"
"node_modules/(?!react-native|react-navigation|i18next-react-native-language-detector|react-navigation-drawer/)"
],
"moduleNameMapper": {
"react-i18next": "<rootDir>/__mocks__/react-i18next-mock.js"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment