mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
chore: migrate test cases from Chai to Jest
This commit is contained in:
+10
-16
@@ -16,8 +16,8 @@
|
||||
"scripts": {
|
||||
"lint": "eslint \"**/*.mjs\" \"**/*.ts\" .",
|
||||
"check": "npm run build && npm test && npm run lint && npm run perf:diff",
|
||||
"test": "nyc mocha \"test/**/*.ts\"",
|
||||
"test:e2e": "mocha \"test/e2e/**/*.ts\"",
|
||||
"test": "jest --coverage",
|
||||
"test:e2e": "jest test/e2e",
|
||||
"perf": "cd benchmark && npm ci && npm start",
|
||||
"perf:diff": "bin/perf-diff.sh",
|
||||
"perf:engines": "cd benchmark && npm run engines",
|
||||
@@ -63,23 +63,18 @@
|
||||
"@semantic-release/changelog": "^3.0.2",
|
||||
"@semantic-release/commit-analyzer": "^6.1.0",
|
||||
"@semantic-release/git": "^7.0.8",
|
||||
"@semantic-release/npm": "^5.1.8",
|
||||
"@semantic-release/npm": "^9.0.2",
|
||||
"@semantic-release/release-notes-generator": "^7.1.4",
|
||||
"@types/benchmark": "^1.0.31",
|
||||
"@types/chai": "^4.1.7",
|
||||
"@types/chai-as-promised": "^7.1.0",
|
||||
"@types/express": "^4.17.2",
|
||||
"@types/jest": "^29.4.0",
|
||||
"@types/jsdom": "^12.2.2",
|
||||
"@types/mocha": "^5.2.6",
|
||||
"@types/sinon": "^7.0.6",
|
||||
"@types/sinon-chai": "^3.2.2",
|
||||
"@types/sinon": "^10.0.13",
|
||||
"@types/supertest": "^2.0.7",
|
||||
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
||||
"@typescript-eslint/parser": "^5.6.0",
|
||||
"all-contributors-cli": "^6.24.0",
|
||||
"benchmark": "^2.1.4",
|
||||
"chai": "^4.2.0",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"coveralls": "^3.0.2",
|
||||
"cross-env": "^5.2.0",
|
||||
"eslint": "^7.32.0",
|
||||
@@ -92,22 +87,21 @@
|
||||
"eslint-plugin-standard": "^4.0.0",
|
||||
"express": "^4.16.4",
|
||||
"husky": "^4.2.5",
|
||||
"jest": "^29.5.0",
|
||||
"jsdom": "^16.5.0",
|
||||
"mocha": "^9.0.1",
|
||||
"nyc": "^15.1.0",
|
||||
"regenerator-runtime": "^0.12.1",
|
||||
"rollup": "^2.61.0",
|
||||
"rollup-plugin-replace": "^2.1.0",
|
||||
"rollup-plugin-typescript2": "^0.31.1",
|
||||
"rollup-plugin-uglify": "^6.0.4",
|
||||
"rollup-plugin-uglify": "^5.0.2",
|
||||
"rollup-plugin-version-injector": "^1.3.3",
|
||||
"semantic-release": "^19.0.3",
|
||||
"sinon": "^7.5.0",
|
||||
"sinon-chai": "^3.3.0",
|
||||
"sinon": "^15.0.2",
|
||||
"supertest": "^3.4.2",
|
||||
"ts-jest": "^29.0.5",
|
||||
"ts-node": "^8.0.2",
|
||||
"tslib": "^2.3.1",
|
||||
"typedoc": "^0.19.2",
|
||||
"typedoc": "^0.23.26",
|
||||
"typedoc-plugin-markdown": "^2.2.17",
|
||||
"typescript": "^4.5.3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user