We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The "Cancel Test Run" button is unable to actually stop tests when they are running.
To Reproduce
Expected behavior
The test is stopped / killed.
Screenshots
(Note the square stop button on the right)
Versions
vscode: v1.95.0 deno: v2.0.4 extension: v3.42.0
Example code
import { delay } from "@std/async"; async function* poll( signal: AbortSignal, intervalMs: number = 100, ): AsyncGenerator<number, void, void> { let itt = 0; while (!signal.aborted) { yield ++itt; await delay(intervalMs); } } Deno.test("test", async () => { const controller = new AbortController(); const signal = controller.signal; const generator = poll(signal, 1000); for await (const n of generator) { console.log(n); if (n > 10) { controller.abort(); } } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The "Cancel Test Run" button is unable to actually stop tests when they are running.
To Reproduce
Expected behavior
The test is stopped / killed.
Screenshots
(Note the square stop button on the right)
Versions
vscode: v1.95.0 deno: v2.0.4 extension: v3.42.0
Example code
The text was updated successfully, but these errors were encountered: