Skip to content

Commit

Permalink
refactor: husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokesh Jain committed Nov 30, 2023
1 parent 9cd1551 commit b6bc3b1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ yarn.lock
#package-lock.json
user_data.sh
*.pem
.bsb.lock
.bsb.lock
CHANGELOG.md
5 changes: 0 additions & 5 deletions cypress/e2e/spec.cy.js

This file was deleted.

12 changes: 6 additions & 6 deletions cypress/e2e/start.cy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe('template spec', () => {
it('passes', () => {
cy.visit('http://localhost:9000')
cy.contains('Hey there,').should('be.visible');
})
})
describe("template spec", () => {
it("passes", () => {
cy.visit("http://localhost:9000");
cy.contains("Hey there,").should("be.visible");
});
});
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
4 changes: 2 additions & 2 deletions cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands'
import "./commands";

// Alternatively you can use CommonJS syntax:
// require('./commands')
// require('./commands')

0 comments on commit b6bc3b1

Please sign in to comment.