Skip to content

Commit

Permalink
Update APIRef.DetoxObjectAPI.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemmiz authored Jan 28, 2018
1 parent 5b9a4b5 commit b63c702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/APIRef.DetoxObjectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ before(async () => {
});
```

##### Explicit imports during initilization
##### Explicit imports during initialization
Detox exports `device `, `expect`, `element`, `by` and `waitFor` as globals by default, if you want to control their initialization manually, set init detox with `initGlobals` set to `false`. This is useful when during E2E tests you also need to run regular expectations in node. jest `Expect` for instance, will not be overriden by Detox when this option is used.

```js
Expand Down Expand Up @@ -72,4 +72,4 @@ The cleanup phase should happen after all the tests have finished. This is the p
after(async () => {
await detox.cleanup();
});
```
```

0 comments on commit b63c702

Please # to comment.