Skip to content

Commit f81e19e

Browse files
Merge pull request #18 from dennisbergevin/docs/add-import-example
docs: Add import example to README and update package versions
2 parents a66114f + 9473161 commit f81e19e

File tree

3 files changed

+1088
-866
lines changed

3 files changed

+1088
-866
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ npm install --save-dev cypress-plugin-last-failed
4646
2. In `cypress/support/e2e.js` (For E2E tests) and/or `cypress/support/component.js` (For Component tests),
4747

4848
```js
49-
import { failedTestToggle } from 'cypress-plugin-last-failed';
49+
import failedTestToggle from 'cypress-plugin-last-failed/src/toggle';
5050

5151
const registerCypressGrep = require('@bahmutov/cy-grep');
5252
registerCypressGrep();

0 commit comments

Comments
 (0)