Skip to content

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

Open
@KillyMXI

Description

@KillyMXI

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions