mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00

Sadly, ts-node doesn't work with the newer typescript anymore. As per https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md , this patch changes from the second to the first method: build the tests first, then run them with ava. This requires a few small changes in the tests, as import.meta.url now returns the transpiled .mjs file in the build dir, instead of the source dir, as expected by the test.
7 lines
67 B
Text
7 lines
67 B
Text
rust-module.cjs
|
|
rust-module.d.cts
|
|
index.js
|
|
docs/
|
|
npm/
|
|
dist/
|
|
build/
|