Skip to content

Commit

Permalink
refactor(tests): use vitest (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo authored Sep 5, 2023
1 parent d1414c8 commit 4247fec
Show file tree
Hide file tree
Showing 21 changed files with 4,794 additions and 7,491 deletions.
16 changes: 0 additions & 16 deletions babel.config.js

This file was deleted.

10 changes: 0 additions & 10 deletions jest.config.js

This file was deleted.

15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"format": "yarn check:format --write",
"check:lint": "eslint 'src'",
"check:type": "tsc --noEmit",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "vitest",
"build:esm": "tsc -b tsconfig.esm.json && node scripts/esm-post-process.mjs",
"build:cjs": "tsc -b tsconfig.cjs.json",
"build:umd": "rollup --configPlugin typescript --config rollup.config.ts",
Expand All @@ -98,13 +98,6 @@
"graphql": ">=0.11 <=16"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@semantic-release/changelog": "^6.0.3",
Expand All @@ -113,25 +106,23 @@
"@types/eventsource": "^1.1.11",
"@types/express": "^4.17.17",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"babel-jest": "^29.6.3",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eventsource": "^2.0.2",
"express": "^4.18.2",
"fastify": "^4.21.0",
"glob": "^10.3.3",
"graphql": "^16.8.0",
"jest": "^29.6.3",
"prettier": "^3.0.2",
"rollup": "^3.28.1",
"rollup-plugin-gzip": "^3.1.0",
"semantic-release": "^21.0.9",
"tslib": "^2.6.2",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.4",
"typescript": "^5.1.6"
"typescript": "^5.1.6",
"vitest": "^0.34.3"
}
}
179 changes: 0 additions & 179 deletions src/__tests__/__snapshots__/handler.ts.snap

This file was deleted.

Loading

0 comments on commit 4247fec

Please sign in to comment.