Skip to content

Commit

Permalink
Update to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 29, 2024
1 parent dd98ec3 commit 431ccc4
Show file tree
Hide file tree
Showing 19 changed files with 889 additions and 1,702 deletions.
5 changes: 0 additions & 5 deletions jest.config.js

This file was deleted.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
"esm"
],
"scripts": {
"test": "jest",
"lint": "eslint --report-unused-disable-directives --max-warnings 0 src test",
"test": "vitest run",
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write .",
"docs": "documentation readme --shallow src/indexedCramFile.ts --section=IndexedCramFile; documentation readme --shallow src/cramFile/file.ts --section=CramFile; documentation readme --shallow src/craiIndex.ts --section=CraiIndex; documentation readme --shallow errors.ts '--section=Exception Classes'; documentation readme --shallow src/cramFile/file.ts --section=CramFile; documentation readme --shallow src/cramFile/record.ts --section=CramRecord",
"prebuild": "npm run clean",
"clean": "rimraf dist esm",
Expand Down Expand Up @@ -53,24 +54,23 @@
},
"devDependencies": {
"@gmod/indexedfasta": "^2.1.0",
"@types/jest": "^29.5.12",
"@types/long": "^4.0.0",
"@types/md5": "^2.3.2",
"@types/pako": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"buffer": "^6.0.3",
"documentation": "^14.0.3",
"eslint": "^9.8.0",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unicorn": "^55.0.0",
"jest": "^29.3.1",
"mock-fs": "^5.2.0",
"prettier": "^3.2.5",
"rimraf": "^6.0.1",
"ts-jest": "^29.1.2",
"typescript": "^5.0.3",
"typescript-eslint": "^8.0.1",
"vitest": "^2.0.5",
"webpack": "^5.90.3",
"webpack-cli": "^5.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/compressions.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`bzip2 1`] = `
{
Expand Down
Loading

0 comments on commit 431ccc4

Please sign in to comment.