Skip to content

Commit

Permalink
fix(support): put in the root to allow using require with slash notat…
Browse files Browse the repository at this point in the history
…ion (#11)

closes #10
  • Loading branch information
derevnjuk authored Dec 11, 2019
1 parent 265a205 commit 14e9ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/cypress/support/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require('../../../dist/support');
require('../../../support');
2 changes: 2 additions & 0 deletions src/support.ts → support.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

before(() => {
cy.task('removeHar');
cy.task('recordHar');
Expand Down

0 comments on commit 14e9ffc

Please sign in to comment.