Feature/jest2 (#322)

* Adding more tests
* adding jest
* fixing tests
* fixing linting
* removing 1 slash less
* fixing more tests
* fixing last test
* more last fixes
This commit is contained in:
Daan Verstraten
2024-11-09 10:08:30 +01:00
committed by GitHub
parent b788f118ff
commit 8e59f63167
39 changed files with 8224 additions and 1158 deletions

View File

@@ -12,12 +12,12 @@
"clean": "rimraf lib",
"compile": "tsc -b",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "exit 0",
"lint": "eslint",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm test",
"pretest": "npm run compile",
"preversion": "",
"test": "mocha --debug-brk",
"test": "jest",
"version": "git add -A src",
"watch": "tsc -w -p ./src"
},
@@ -36,17 +36,19 @@
},
"homepage": "https://github.com/Blockception/Minecraft-bedrock-json-schemas#readme",
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@eslint/js": "^9.14.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.14",
"@types/node": "^20.10.1",
"chai": "^4.3.10",
"comment-json": "^4.2.3",
"json-loader": "^0.5.7",
"mocha": "^10.2.0",
"eslint": "^9.14.0",
"eslint-plugin-jest": "^28.9.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.3.2"
"typescript": "^5.3.2",
"typescript-eslint": "^8.13.0",
"vscode": "^1.1.37"
},
"dependencies": {
"fast-glob": "^3.3.2",