Reimplement tests
This commit is contained in:
+6
-3
@@ -12,14 +12,17 @@
|
||||
"build:js": "esbuild src/ts/ribbit-editor.ts --bundle --format=iife --global-name=ribbit --sourcemap --outfile=dist/ribbit/ribbit.js",
|
||||
"build:min": "esbuild src/ts/ribbit-editor.ts --bundle --format=iife --global-name=ribbit --minify --outfile=dist/ribbit/ribbit.min.js",
|
||||
"build:css": "cp src/static/ribbit-core.css dist/ribbit/ && cp -r src/static/themes dist/ribbit/",
|
||||
"test": "npm run build && node test/test_hopdown.js"
|
||||
"test": "npm run build && jest --verbose",
|
||||
"test:coverage": "npm run build && jest --coverage"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "evilchili",
|
||||
"devDependencies": {
|
||||
"@types/jsdom": "^28.0.1",
|
||||
"@types/jest": "^29.5.14",
|
||||
"esbuild": "^0.28.0",
|
||||
"jsdom": "^20.0.3",
|
||||
"happy-dom": "^14.12.3",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.4.9",
|
||||
"typescript": "^6.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user