mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
12 lines
369 B
JavaScript
12 lines
369 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
'use strict';
|
|
|
|
const ort = require('onnxruntime-web');
|
|
const testFunction = require('./common');
|
|
|
|
it('Node.js E2E testing - WebAssembly backend (no threads)', async function() {
|
|
ort.env.wasm.numThreads = 1;
|
|
await testFunction(ort, {executionProviders: ['wasm']});
|
|
});
|