Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSxxxx errors in the output when using tsimp with AVA #34

Open
KillyMXI opened this issue Jan 14, 2025 · 0 comments
Open

TSxxxx errors in the output when using tsimp with AVA #34

KillyMXI opened this issue Jan 14, 2025 · 0 comments

Comments

@KillyMXI
Copy link

KillyMXI commented Jan 14, 2025

I'm using AVA in combination with tsimp to test my TypeScript projects, as documented in https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md

The issue started when upgrading TypeScript past 5.5.4 - to 5.6.3 or 5.7.2.
I missed the issue #29 and started with tsimp 2.0.12.
Looks like some problem remained unresolved.

Currently, in the context of AVA, tsimp 2.0.12 works with new TS versions but produces error messages in the output, without preventing AVA from working.
So, it's not a breaking but nonetheless undesirable.

The issue in AVA repository: avajs/ava#3349
They say the issue is not theirs. I can only partially confirm that, but have no better choice other than raise it here as well.

tsimp 2.0.11 tsimp 2.0.12
typescript 5.5.4 fine fine
typescript 5.6.3, 5.7.2 timeout test pass with displayed errors

After facing the issue in one of my packages repo, I reproduced this in my playground repo with a single trivial test.
My repro branch: https://github.com/mxxii/yet-another-typescript-package-template/tree/tsimp-issue-repro
Test run log with the error messages: https://github.com/mxxii/yet-another-typescript-package-template/actions/runs/12484026510/job/34840790959#step:5:10
(Logs are not public, but the error messages are also shown in the Annotations section.)

image


@novemberborn said they can help point out how AVA loads files etc if needed.
I'm just an AVA user who cares about the issue and can try things when asked, not knowledgeable about AVA inner workings.

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

No branches or pull requests

1 participant