Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Testing on Windows is not working in GitHub Action #2

@janmechtel

Description

@janmechtel

running yarn test local works, but it fails in the GitHub action

4s
Run yarn test

  Uncaught exception in __test__\index.spec.ts

  TypeError {
    code: 'ERR_INVALID_URL',
    input: '.\\file:\\D:\\a\\kontext2[1](https://github.com/kontext21/kontext21-node/actions/runs/13716098911/job/38361318728#step:7:1)-node\\kontext21-node\\index.js',
    message: 'Invalid URL',
  }

  × __test__\index.spec.ts exited with a non-zero exit code: 1
  ─

  1 uncaught exception
Error: Process completed with exit code 1.

https://github.com/kontext21/kontext21-node/actions/runs/13716098911/job/38361318728#step:7:1

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