mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-26 23:05:11 +08:00
[tests][build][ci] import from /src directly for tests - otherwise coverage won't map correctly
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
"instrument": true,
|
"instrument": true,
|
||||||
"relativePath": false,
|
"relativePath": false,
|
||||||
"include": [
|
"include": [
|
||||||
"**/dist/**"
|
"**/react-native-firebase/src/**"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import React, { Component } from 'react';
|
|||||||
import { AppRegistry, Text, View } from 'react-native';
|
import { AppRegistry, Text, View } from 'react-native';
|
||||||
|
|
||||||
import bridge from 'jet/platform/react-native';
|
import bridge from 'jet/platform/react-native';
|
||||||
import firebase from 'react-native-firebase';
|
import firebase from 'react-native-firebase/src';
|
||||||
|
|
||||||
require('sinon');
|
require('sinon');
|
||||||
require('should-sinon');
|
require('should-sinon');
|
||||||
|
|||||||
@@ -57,13 +57,13 @@
|
|||||||
"functions": 95,
|
"functions": 95,
|
||||||
"branches": 95,
|
"branches": 95,
|
||||||
"include": [
|
"include": [
|
||||||
"**/dist/**"
|
"**/react-native-firebase/src/**"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
"**/dist/utils/emitter**",
|
"**/react-native-firebase/src/utils/emitter**",
|
||||||
"**/dist/modules/admob**",
|
"**/react-native-firebase/src/modules/admob**",
|
||||||
"**/dist/modules/auth/phone**"
|
"**/react-native-firebase/src/modules/auth/phone**"
|
||||||
],
|
],
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"instrument": true,
|
"instrument": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user