Skip to content

Test the Node.js example - #657

Merged
kateinoigakukun merged 1 commit into
ruby:mainfrom
ledsun:codex/test-node-example
Aug 15, 2026
Merged

Test the Node.js example#657
kateinoigakukun merged 1 commit into
ruby:mainfrom
ledsun:codex/test-node-example

Conversation

@ledsun

@ledsun ledsun commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

I’d like to add more examples of ruby.wasm for Node.js. However, while there are currently end-to-end tests for the browser examples, there are no automated tests for the Node.js examples.

I added a Vitest smoke test that runs existing Node.js samples as child processes.To ensure the samples remain unchanged, I created an isolated, temporary node_modules layout.
The sample test runs using only the ruby-head-wasm-wasi package.

I also updated CONTRIBUTING.md to explain how version-specific packages invoke the shared test suite.

@ledsun
ledsun marked this pull request as ready for review August 15, 2026 13:53
@kateinoigakukun
kateinoigakukun merged commit 7366b6d into ruby:main Aug 15, 2026
39 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