yrp tests
Showing
This diff is collapsed.
| ... | @@ -4,7 +4,8 @@ | ... | @@ -4,7 +4,8 @@ |
| "version": "1.0.0", | "version": "1.0.0", | ||
| "scripts": { | "scripts": { | ||
| "lint": "eslint --fix .", | "lint": "eslint --fix .", | ||
| "test": "jest --passWithNoTests" | "test": "jest --passWithNoTests", | ||
| "freeze-yrp": "ts-node tests/tools/freeze-yrp.ts" | |||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| ... | @@ -37,6 +38,7 @@ | ... | @@ -37,6 +38,7 @@ |
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@types/jest": "^30.0.0", | "@types/jest": "^30.0.0", | ||
| "@types/js-yaml": "^4.0.9", | |||
| "@types/node": "^25.2.1", | "@types/node": "^25.2.1", | ||
| "@types/sql.js": "^1.4.9", | "@types/sql.js": "^1.4.9", | ||
| "@typescript-eslint/eslint-plugin": "^8.54.0", | "@typescript-eslint/eslint-plugin": "^8.54.0", | ||
| ... | @@ -47,11 +49,13 @@ | ... | @@ -47,11 +49,13 @@ |
| "jest": "^30.2.0", | "jest": "^30.2.0", | ||
| "prettier": "^3.8.1", | "prettier": "^3.8.1", | ||
| "ts-jest": "^29.4.6", | "ts-jest": "^29.4.6", | ||
| "ts-node": "^10.9.2", | |||
| "typescript": "^5.9.3" | "typescript": "^5.9.3" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "js-yaml": "^4.1.1", | |||
| "sql.js": "^1.13.0", | "sql.js": "^1.13.0", | ||
| "ygopro-jstest": "^1.0.8", | "ygopro-jstest": "^1.0.10", | ||
| "ygopro-msg-encode": "^1.1.5" | "ygopro-msg-encode": "^1.1.5" | ||
| } | } | ||
| } | } |
tests/single/jstest.lua
0 → 100644
tests/tools/freeze-yrp.ts
0 → 100644
tests/utility/yrp-info.ts
0 → 100644
tests/yrp-info/sample.yaml
0 → 100644
This diff is collapsed.
tests/yrp.spec.ts
0 → 100644
tests/yrp/sample-single.yrp
0 → 100644
File added
tests/yrp/sample.yrp
0 → 100644
File added
Please register or sign in to comment