Skip to content

Commit 693d845

Browse files
committed
Fix chai’s should
Fix chai’s should
1 parent 516d086 commit 693d845

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
logs
12
chromedriver.log
23
node_modules
34
npm-debug.log*

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"format:js": "prettier '**/*.{js,mjs}' --write",
5454
"format:etc": "prettier '**/*.{json,md,yml}' --write",
5555
"test": "npm run lint && npm run test:unit && npm run test:local",
56-
"test:unit": "mocha test/unit --require chai/register-should",
56+
"test:unit": "mocha test/unit --require chai/register-should.js",
5757
"test:local": "nightwatch --env chrome-local --timeout 500",
5858
"test:sauce": "nightwatch --env chrome,firefox,safari"
5959
},

rollup.config.js renamed to rollup.config.mjs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
import pkg from './package.json';
1+
import fs from 'node:fs';
2+
3+
const pkg = JSON.parse(fs.readFileSync('package.json'));
4+
5+
// import pkg from './package.json';
26

37
const ndash = '\u2013';
48
const yearNow = new Date().getFullYear();

0 commit comments

Comments
 (0)