Skip to content

Commit

Permalink
Fix chai’s should
Browse files Browse the repository at this point in the history
Fix chai’s should
  • Loading branch information
pepelsbey committed Nov 19, 2024
1 parent 516d086 commit 693d845
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
logs
chromedriver.log
node_modules
npm-debug.log*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"format:js": "prettier '**/*.{js,mjs}' --write",
"format:etc": "prettier '**/*.{json,md,yml}' --write",
"test": "npm run lint && npm run test:unit && npm run test:local",
"test:unit": "mocha test/unit --require chai/register-should",
"test:unit": "mocha test/unit --require chai/register-should.js",
"test:local": "nightwatch --env chrome-local --timeout 500",
"test:sauce": "nightwatch --env chrome,firefox,safari"
},
Expand Down
6 changes: 5 additions & 1 deletion rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import pkg from './package.json';
import fs from 'node:fs';

const pkg = JSON.parse(fs.readFileSync('package.json'));

// import pkg from './package.json';

const ndash = '\u2013';
const yearNow = new Date().getFullYear();
Expand Down

0 comments on commit 693d845

Please sign in to comment.