-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
needs infoneeds further information to be properly triagedneeds further information to be properly triagedupstreamChanges in upstream are required to solve these issuesChanges in upstream are required to solve these issues
Description
Version: Deno 2.5.6
I run Deno test with Vitest library and want to test assertType<string>
Is it due to Deno or Vitest ?
assertType("aaa") => works
assertType(uuid()) => error
PoC in zip
deno-vitest.zip
./add/index.test.ts (uncaught error)
error: (in promise) Error: Vitest failed to find the current suite. This is a bug in Vitest. Please, open an issue with reproduction.
at assert
at getCurrentSuite
at Object.<anonymous>
at chain
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
Metadata
Metadata
Assignees
Labels
needs infoneeds further information to be properly triagedneeds further information to be properly triagedupstreamChanges in upstream are required to solve these issuesChanges in upstream are required to solve these issues