onnxruntime/js/web/test/e2e/node-test-main-no-threads.js
Yulong Wang 1743e9a615
[js] enable formatter for more file types (#16888)
### Description
enable formatter for .js/.json/.jsonc/.md files
2023-07-28 15:46:58 -07:00

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']});
});