Skip to content

Commit

Permalink
deps and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bannsaenger committed Jul 22, 2024
1 parent af7a085 commit 41c844d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
"main.js"
],
"scripts": {
"test:js": "mocha \"{!(node_modules|test)/**/*.test.js,*.test.js,test/**/test!(PackageFiles|Startup).js}\"",
"test:js": "mocha --config test/mocharc.custom.json \"{!(node_modules|test)/**/*.test.js,*.test.js,test/**/test!(PackageFiles|Startup).js}\"",
"test:package": "mocha test/package --exit",
"test:unit": "mocha test/unit --exit",
"test:integration": "mocha test/integration --exit",
"test": "npm run test:js && npm run test:package",
"check": "tsc --noEmit -p tsconfig.check.json",
"lint": "eslint --ext .js,.jsx --ignore-pattern words.js .",
"translate": "translate-adapter",
"release": "release-script patch --all --verbose -p iobroker license",
Expand Down
4 changes: 4 additions & 0 deletions test/mocharc.custom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"require": ["test/mocha.setup.js"],
"watch-files": ["!(node_modules|test)/**/*.test.js", "*.test.js", "test/**/test!(PackageFiles|Startup).js"]
}
5 changes: 0 additions & 5 deletions test/unit.js

This file was deleted.

0 comments on commit 41c844d

Please sign in to comment.