Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module.exports = [
},
},
{
files: ['**/*.mocha.js', 'test/webdriverio/test/*_test.mjs'],
files: ['**/*.mocha.js', 'test/webdriverio/test/*_test.js'],
languageOptions: {
globals: {
...globals.mocha,
Expand Down
232 changes: 222 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
"prepublishOnly": "npm login --registry https://wombat-dressing-room.appspot.com",
"start": "blockly-scripts start",
"test": "npm run wdio:clean && npm run wdio:build && npm run wdio:run",
"wdio:build": "cd test/webdriverio && webpack",
"wdio:clean": "cd test/webdriverio && rm -rf build",
"wdio:run": "cd test/webdriverio && npx mocha"
"wdio:build": "npm run wdio:build:app && npm run wdio:build:tests",
"wdio:build:app": "cd test/webdriverio && webpack",
"wdio:build:tests": "tsc -p ./test/webdriverio/test/tsconfig.json",
"wdio:clean": "cd test/webdriverio/test && rm -rf dist",
"wdio:run": "npm run wdio:build && cd test/webdriverio/test && npx mocha dist"
},
"main": "./dist/index.js",
"module": "./src/index.js",
Expand Down Expand Up @@ -48,6 +50,8 @@
"@blockly/field-colour": "^5.0.7",
"@eslint/eslintrc": "^2.1.2",
"@eslint/js": "^8.49.0",
"@types/chai": "^5.2.1",
"@types/mocha": "^10.0.10",
"@types/p5": "^1.7.6",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
Expand Down
2 changes: 1 addition & 1 deletion test/webdriverio/.mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

module.exports = {
ui: 'tdd',
require: __dirname + '/test/hooks.mjs',
require: __dirname + '/test/dist/hooks.js',
};
Loading