[tests] fix coverage

This commit is contained in:
Salakar 2018-04-09 11:11:42 +01:00
parent 00cd05b9a7
commit 93323a9e40
3 changed files with 23 additions and 18 deletions

View File

@ -5,21 +5,25 @@
"env": {
"development": {
"plugins": [
["istanbul", {
"useInlineSourceMaps": true,
"instrument": true,
"include": [
"lib/*"
],
"exclude": [
"node_modules"
]
}],
["module-resolver", {
[
"module-resolver",
{
"alias": {
"react-native-firebase": ".."
}
}]
}
],
[
"istanbul",
{
"useInlineSourceMaps": true,
"instrument": true,
"relativePath": false,
"include": [
"**/dist/**"
]
}
]
]
}
}

View File

@ -1,6 +1,6 @@
--recursive
--timeout 120000
--slow 1
--slow 200
--bail
--exit
--require bridge/platform/node

View File

@ -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": {