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
84b679b1
Commit
84b679b1
authored
Feb 06, 2017
by
Wietse Kuipers
Browse files
Enable jest testing
parent
5c97e4b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
__tests__/index.android.js
0 → 100644
View file @
84b679b1
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/containers/app
'
;
it
(
'
renders correctly
'
,
()
=>
{
const
tree
=
renderer
.
create
(
<
Index
/>
,
);
});
__tests__/index.ios.js
0 → 100644
View file @
84b679b1
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/containers/app
'
;
it
(
'
renders correctly
'
,
()
=>
{
const
tree
=
renderer
.
create
(
<
Index
/>
,
);
});
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