Skip to content

Deno cannot find tests in sibling-directory anymore #22239

@bodograumann

Description

@bodograumann

After updating deno from 1.39.2 to 1.40.2, it cannot find our tests anymore.
It seems to be related to them being in a sibling directory.
I have created a reproduction here: https://github.com/bodograumann/deno-cannot-find-tests

$ git clone https://github.com/bodograumann/deno-cannot-find-tests
$ cd deno-cannot-find-tests
$ deno test server
Check file:///home/bodo/Reproductions/deno-cannot-find-tests/server/example.test.ts
running 1 test from ./server/example.test.ts
url test ... ok (0ms)

ok | 1 passed | 0 failed (2ms)

$ cd dist
$ deno test ../server
error: No test modules found

Version: Deno 1.40.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions