diff --git a/js/web/karma.conf.js b/js/web/karma.conf.js index c2d81bf4d3e16..faf9efe5bf109 100644 --- a/js/web/karma.conf.js +++ b/js/web/karma.conf.js @@ -77,7 +77,7 @@ module.exports = function (config) { browserSocketTimeout: 60000, hostname: getMachineIpAddress(), customLaunchers: { - ChromeTest: { base: 'Chrome', flags: ['--window-size=1,1', '--enable-features=SharedArrayBuffer'] }, + ChromeTest: { base: 'ChromeHeadless', flags: ['--window-size=1,1', '--enable-features=SharedArrayBuffer'] }, ChromeDebug: { debug: true, base: 'Chrome', flags: ['--remote-debugging-port=9333', '--enable-features=SharedArrayBuffer'] }, // diff --git a/tools/ci_build/github/azure-pipelines/win-wasm-ci-pipeline.yml b/tools/ci_build/github/azure-pipelines/win-wasm-ci-pipeline.yml index e10396b2daf61..aa6ba8afeb317 100644 --- a/tools/ci_build/github/azure-pipelines/win-wasm-ci-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/win-wasm-ci-pipeline.yml @@ -219,7 +219,7 @@ jobs: workingDirectory: '$(Build.SourcesDirectory)\js\web' displayName: 'Run ort-web tests - unpacked mode' - script: | - npm test -- --webgl-texture-pack-mode -b=webgl + npm test -- --webgl-texture-pack-mode -b=webgl workingDirectory: '$(Build.SourcesDirectory)\js\web' displayName: 'Run ort-web tests - packed mode' - script: |