MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / test_vite

Method test_vite

test/test_browser.py:5589–5593  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

5587 'minimal': (['-sMINIMAL_RUNTIME', '-sMINIMAL_RUNTIME_STREAMING_WASM_INSTANTIATION'],),
5588 })
5589 def test_vite(self, args):
5590 copytree(test_file('vite'), '.')
5591 self.compile_btest('hello_world.c', ['-sEXIT_RUNTIME', '-sENVIRONMENT=web', '-o', 'hello.mjs'] + args)
5592 self.run_process(shared.get_npm_cmd('vite') + ['build'])
5593 self.run_browser('dist/index.html', '/report_result?exit:0')
5594
5595 @also_with_pthreads
5596 @requires_dev_dependency('rollup')

Callers

nothing calls this directly

Calls 5

copytreeFunction · 0.90
test_fileFunction · 0.90
compile_btestMethod · 0.80
run_processMethod · 0.80
run_browserMethod · 0.80

Tested by

no test coverage detected