Skip to content

Add --skipLibCheck to tsc tests#26767

Merged
brendandahl merged 3 commits intoemscripten-core:mainfrom
brendandahl:tsc-skip-lib-tests
Apr 24, 2026
Merged

Add --skipLibCheck to tsc tests#26767
brendandahl merged 3 commits intoemscripten-core:mainfrom
brendandahl:tsc-skip-lib-tests

Conversation

@brendandahl
Copy link
Copy Markdown
Collaborator

External type definitions in node_modules can cause errors unrelated to the code being tested. This can happen when running a single test and the node_modules are discovered in a parent directory.

Add a helper function to run tsc with --skipLibCheck and use it in test_other.py to avoid these failures.

External type definitions in node_modules can cause errors unrelated to
the code being tested. This can happen when running a single test and
the node_modules are discovered in a parent directory.

Add a helper function to run `tsc` with `--skipLibCheck` and use it in
`test_other.py` to avoid these failures.
@brendandahl brendandahl requested a review from sbc100 April 23, 2026 21:18
Comment thread test/test_other.py Outdated
Comment thread test/test_other.py
@brendandahl brendandahl merged commit 4ccd9bb into emscripten-core:main Apr 24, 2026
16 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants