Add unit test

This commit is contained in:
Julia Friesel
2018-05-29 14:40:58 +02:00
parent bcda3259e4
commit 444420899e
3 changed files with 1282 additions and 3991 deletions
+1
View File
@@ -26,6 +26,7 @@ export default class drip extends Component {
}
render() {
console.log('beweis fuer tina')
return (
<View style={styles.container}>
<TextInput
+1271 -3986
View File
File diff suppressed because it is too large Load Diff
+10 -5
View File
@@ -1,12 +1,17 @@
{
"name": "drip",
"version": "0.0.1",
"private": true,
"contributors": [
"Julia Friesel <julia.friesel@gmail.com>",
"Marie Kochsiek",
"Tina Baumann"
],
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"run-android": "./node_modules/.bin/react-native run-android",
"log": "./node_modules/.bin/react-native log-android"
"log": "./node_modules/.bin/react-native log-android",
"test": "mocha --recursive test && npm run lint",
"lint": "eslint app test"
},
"dependencies": {
"react": "16.3.1",
@@ -14,9 +19,9 @@
"react-native-local-mongodb": "^2.1.0"
},
"devDependencies": {
"babel-jest": "23.0.1",
"babel-preset-react-native": "4.0.0",
"jest": "23.0.1",
"chai": "^4.1.2",
"mocha": "^5.2.0",
"react-test-renderer": "16.3.1"
},
"jest": {