Skip to content

Commit

Permalink
Refactor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Sep 3, 2024
1 parent 1b5bbbd commit 4d08a12
Show file tree
Hide file tree
Showing 13 changed files with 191 additions and 948 deletions.
1 change: 1 addition & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

{
"extension": [".ts"],
"reporter": ["text", "lcov"]
Expand Down
18 changes: 13 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
{
"parserOptions": {
"ecmaVersion": 2019,
"ecmaVersion": 2022,
"project": ["./tsconfig.json"]
},
"reportUnusedDisableDirectives": true,
"extends": [
"@myrotvorets/myrotvorets-ts",
"plugin:mocha/recommended"
"@myrotvorets/myrotvorets-ts"
],
"overrides": [
{
"files": ["test/**/*.ts"],
"rules": {
"no-await-in-loop":"off",
"sonarjs/no-hardcoded-ip": "off"
}
}
],
"env": {
"node": true,
"mocha": true
"node": true
}
}
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
contents: read
packages: write
statuses: write
id-token: write
strategy:
matrix:
registry:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
uses: myrotvorets/composite-actions/node-sonarscan@master
with:
sonar-token: ${{ secrets.SONAR_TOKEN }}
test-script: 'test:coverage'
test-script: 'test:sonarqube'
13 changes: 0 additions & 13 deletions .mocharc.cjs

This file was deleted.

Loading

0 comments on commit 4d08a12

Please sign in to comment.