Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error: unknown TAP line X: ' 1..5' #33

Open
@nikeee

Description

I'm using vitest-dev/vitest#445 to generate TAP results.

This is an excerpt from the TAP output:

TAP version 13
1..2
ok 1 - src/redacted.test.ts # time=11.00ms {
 1..5
 ok 1 - redacted # time=1.00ms
 ok 2 - redacted # time=1.00ms
 ok 3 - redacted # time=2.00ms
 ok 4 - redacted # time=1.00ms
 ok 5 - redacted # time=0.00ms
}

I get this error.

`Error: unknown TAP line X: ' 1..5'`

It seems like this action is having trouble with the way the library is emitting subtests. Looking at the spec of TAP, sub tests are not even part of TAPv13. It is part of TAPv14, but with a different syntax.

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

        AltStyle によって変換されたページ (->オリジナル) /