mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +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. |
||
|---|---|---|
| .. | ||
| resources | ||
| api.spec.mts | ||
| compiler.spec.mts | ||
| eventloop.spec.mts | ||
| globals.spec.mts | ||
| js_value_conversion.spec.mts | ||
| models.spec.mts | ||
| tsconfig.json | ||
| types.spec.mts | ||
| window.spec.mts | ||