mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-13 04:09:25 +00:00
Note that this requires adding an additional `km-core-node.mjs` module (since the tests are run with node). We can't create one that would work for both web and node - if we do trying to load the `km-core.js` fails with `km-core.mjs: Could not resolve import "module".`
5 lines
171 B
Meson
5 lines
171 B
Meson
if cpp_compiler.get_id() == 'emscripten'
|
|
npm = find_program('npm', required: true)
|
|
|
|
test('wasm-tests', npm, args: ['test'], workdir: meson.current_source_dir())
|
|
endif
|