connor4312 / connor4312/nodejs-testing

Tests are not nested nor reported on correctly

Open
#69 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
67
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I have a test file with multiple describe functions. They are all siblings, i.e. `Start XTDB`, `Set Data Source Items`, `Import Records` and `Valid Times` are all on the same level but the test explorer picks them up as nested.

![Image](https://github.com/user-attachments/assets/95d2d6a4-8242-4a63-8e83-64dcea751b25)

This means I can't run them from vs-code nor see their results.

If I run `Query Tests` runs the test suit fine but clicking on a erroneously nested describe suite like `Import Records` just leaves the runner waiting.

Running the test from the command line `node --env-file=.env_test --import tsx --test **/*.test.ts` runs all test suites fine.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.