Skip to content

Commit

Permalink
fix: bad practice in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Haller committed Jul 21, 2020
1 parent e278b5b commit d0528ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -316,9 +316,10 @@ describe('Run gremlins.js inside a cypress test', () => {
horde = createHorde({ window: testedWindow });
})
);
it('should run gremlins.js', async () => {
await horde.unleash();
/* ... */
it('should run gremlins.js', () => {
return cy.wrap(horde.unleash()).then(() => {
/* ... */
});
});
});
```
Expand Down

0 comments on commit d0528ab

Please sign in to comment.