Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Guide.Jest to document a new way of changing runner
  • Loading branch information
Kureev committed Oct 15, 2017
commit 256af2b61e2021338093c987535db345070a96d7
4 changes: 3 additions & 1 deletion docs/Guide.Jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ Add this part to your `package.json`:
"setupTestFrameworkScriptFile": "./e2e/init.js"
},
"scripts": {
"test:e2e": "detox test -r jest",
"test:e2e": "detox test",
"test:e2e:build": "detox build"
}
```

In the `detox` part of your `package.json`, add `"runner": "jest"` to tell detox that you want to use jest runner instead of mocha.

### Writing Tests

There are some things you should notice:
Expand Down