Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
35442441
Commit
35442441
authored
Oct 18, 2017
by
Luuk Scholten
Browse files
Perform tests in ci
parent
33b17fb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
35442441
...
...
@@ -13,9 +13,14 @@ before_script:
-
yarn install
stages
:
-
lint
-
validate
eslint
:
stage
:
lint
stage
:
validate
script
:
-
yarn ci-lint
jest
:
stage
:
validate
script
:
-
yarn jest
__tests__/index.android.js
deleted
100644 → 0
View file @
33b17fb8
import
'
react-native
'
;
import
React
from
'
react
'
;
// Note: test renderer must be required after react-native.
import
renderer
from
'
react-test-renderer
'
;
import
Index
from
'
../app/app
'
;
package.json
View file @
35442441
...
...
@@ -10,8 +10,11 @@
"jest"
:
{
"preset"
:
"react-native"
,
"collectCoverage"
:
true
,
"collectCoverageFrom"
:
[
"app/**/*.js"
],
"coverageReporters"
:
[
"text-summary"
"text"
,
"text-summary"
],
"modulePaths"
:
[
".yarn/"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment