Commit d058788
committed
Refactor JtdToEsmCodegenTest to use GraalVM Polyglot instead of bun
- Remove all bun-specific code (ProcessBuilder runners, isBunAvailable checks)
- Replace with GraalVM Polyglot JS in-process execution via jsContext()/evalModule()
- Add GraalVM helper methods: jsContext(), evalModule(), errCount()
- Simplify test schemas (inline them instead of separate variables)
- Add generatedDiscriminatorValidatorWorks test
- Add JTD_CODEGEN_SPEC.md documentation
- All 17 tests pass, no external JS runtime required1 parent 52f92e1 commit d058788
File tree
2 files changed
+874
-287
lines changed- jtd-esm-codegen
- src/test/java/io/github/simbo1905/json/jtd/codegen
2 files changed
+874
-287
lines changed
0 commit comments