Skip to content

Commit

Permalink
Adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
jolo-dev committed Oct 28, 2023
1 parent db0c243 commit 0da9b28
Show file tree
Hide file tree
Showing 15 changed files with 336 additions and 73 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage
10 changes: 10 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
plugins: [
'@typescript-eslint',
'@stylistic/ts'
],
parser: '@typescript-eslint/parser',
rules: {
'@stylistic/ts/indent': ['error', 2]
},
}
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ coverage/
!/.projenrc.js
/test-reports/
junit.xml
!/./jest.config.json
/coverage/
!/.github/workflows/build.yml
/dist/changelog.md
Expand Down
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"type": "module",
"scripts": {
"build": "bun",
"lint": "eslint .",
"lint": "eslint --fix tests/**/*.ts",
"test": "vitest",
"test:watch": "vitest --watch",
"test:unit": "vitest -t tests/unit",
"test:integration": "vitest -t tests/integration"
"test:unit": "vitest --config ./tests/vitest.config.ts",
"test:integration": "vitest --config ./tests/vitest.config.integ.ts",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui"
},
"engines": {
"node": ">= 18"
Expand All @@ -24,11 +26,15 @@
"@stylistic/eslint-plugin-ts": "^0.1.1",
"@tsconfig/bun": "^1.0.1",
"@types/node": "^20.8.9",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"aws-sdk-client-mock": "^3.0.0",
"bun": "^1.0.7",
"standard-version": "^9.5.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
"vitest": "^v1.0.0-beta.3"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.437.0",
Expand Down
Loading

0 comments on commit 0da9b28

Please sign in to comment.