onnxruntime/js/web/test/e2e/node-test-main.js
Yulong Wang 97d9bcd644
[js/web] fix bundle for multi-thread, add e2e test and support nodejs (#7688)
* fix bundle for multi-thread, add e2e test and support nodejs

* add copyright banner

* resolve comments

* add comments for isMultiThreadSupported()
2021-05-14 18:15:38 -07:00

11 lines
332 B
JavaScript

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
const ort = require('onnxruntime-web');
const testFunction = require('./common');
it('Browser E2E testing - WebAssembly backend', async function () {
await testFunction(ort, { executionProviders: ['wasm'] });
process.exit();
});