Skip to content

Commit

Permalink
test: switch to snapshot tests with vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
naiyerasif committed Sep 7, 2024
1 parent f745574 commit 26ebc84
Show file tree
Hide file tree
Showing 13 changed files with 1,208 additions and 1,298 deletions.
15 changes: 5 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microflash/rehype-figure",
"version": "2.1.0",
"version": "2.1.1",
"description": "rehype plugin to transform an image with alt text to a figure with caption",
"license": "MIT",
"keywords": [
Expand All @@ -22,7 +22,7 @@
"index.js"
],
"scripts": {
"test": "ava"
"test": "vitest plugin"
},
"dependencies": {
"hast-util-whitespace": "^3.0.0",
Expand All @@ -31,16 +31,11 @@
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"ava": "^6.1.2",
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"unified": "^11.0.4"
"unified": "^11.0.5",
"vitest": "^2.0.5"
},
"packageManager": "[email protected]",
"ava": {
"files": [
"test/**/*.test.js"
]
}
"packageManager": "[email protected]"
}
Loading

0 comments on commit 26ebc84

Please sign in to comment.