Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[js/web] Add package export tests for onnxruntime-web #23175

Closed
wants to merge 5 commits into from

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Dec 20, 2024

Description

Add export tests for onnxruntime-web.

Export tests are a set of tests that check whether the onnxruntime-web NPM package can be correctly consumed in popular frontend framework. This PR adds a Next.js based web application which uses CSR modules depending on onnxruntime-web, and use puppeteer based Node.js code to verify the behavior. Currently it only passes for Multi-threading and Proxy are OFF.

This PR gives a way to ensure future changes will not break the export functionality of onnxruntime-web package.

@fs-eire fs-eire changed the title Fs eire/w exp [js/web] Add package export tests for onnxruntime-web Dec 20, 2024
});
}

async function delay(ms) {

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note test

Unused function delay.
@fs-eire fs-eire closed this Jan 6, 2025
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.

1 participant