[tests] fix coverage
This commit is contained in:
parent
00cd05b9a7
commit
93323a9e40
|
@ -5,21 +5,25 @@
|
|||
"env": {
|
||||
"development": {
|
||||
"plugins": [
|
||||
["istanbul", {
|
||||
"useInlineSourceMaps": true,
|
||||
"instrument": true,
|
||||
"include": [
|
||||
"lib/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}],
|
||||
["module-resolver", {
|
||||
"alias": {
|
||||
"react-native-firebase": ".."
|
||||
[
|
||||
"module-resolver",
|
||||
{
|
||||
"alias": {
|
||||
"react-native-firebase": ".."
|
||||
}
|
||||
}
|
||||
}]
|
||||
],
|
||||
[
|
||||
"istanbul",
|
||||
{
|
||||
"useInlineSourceMaps": true,
|
||||
"instrument": true,
|
||||
"relativePath": false,
|
||||
"include": [
|
||||
"**/dist/**"
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--recursive
|
||||
--timeout 120000
|
||||
--slow 1
|
||||
--slow 200
|
||||
--bail
|
||||
--exit
|
||||
--require bridge/platform/node
|
||||
|
|
|
@ -56,10 +56,11 @@
|
|||
"statements": 95,
|
||||
"functions": 95,
|
||||
"branches": 95,
|
||||
"include": ["lib/*"],
|
||||
"include": ["**/dist/**"],
|
||||
"exclude": ["node_modules"],
|
||||
"sourceMap": false,
|
||||
"instrument": false,
|
||||
"sourceMap": true,
|
||||
"instrument": true,
|
||||
"cwd": "..",
|
||||
"reporter": ["lcov", "text-summary"]
|
||||
},
|
||||
"detox": {
|
||||
|
|
Loading…
Reference in New Issue