Skip to content

Conversation

@Sam-61s
Copy link
Contributor

@Sam-61s Sam-61s commented Jan 8, 2026

Problem: The bundler fixtures loader uses entry.path from fs.readdirSync({ withFileTypes: true, recursive: true }).
On Windows, Dirent.path can be undefined, so npm test fails with ENOENT

Fix: In test-utils.js , replace entry.path with entry.parentPath for path building and readFileSync. This matches existing usage in v1/json-schema-test-suite.spec.ts and works cross‑platform.

Linux/WSL note: Dirent.path is often defined there, so the bug is masked; parentPath avoids the platform-dependent behavior.

Copy link
Collaborator

@jdesrosiers jdesrosiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jdesrosiers jdesrosiers merged commit d265e92 into hyperjump-io:main Jan 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants