Skip to content

Commit

Permalink
Update APIRef.TestLifecycle.md (wix#797)
Browse files Browse the repository at this point in the history
relaunchApp() was deprecated, use launchApp({newInstance: true}) instead
  • Loading branch information
lalka-workco authored and rotemmiz committed Jun 26, 2018
1 parent f1d00b8 commit 2afd3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/APIRef.TestLifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ A good practice for testing in general is to have decoupled tests, meaning that

```js
beforeEach(async () => {
await device.relaunchApp();
await device.launchApp({newInstance: true});
});
```

0 comments on commit 2afd3ba

Please sign in to comment.