-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
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
Flaky tests runner #22991
Comments
yes -- as long as the progress indicators are still circling around the yellow dots, you feel excited like in an online casino ;) Just use |
Sorry I don't understand your riddle or how or why this is solving my issue. |
sorry -- I was writing about very similar experiences while contributing PRs to the So it's definitely not an issue related to your local setup but happening also in other execution contexts. But I have to say, that I did not see any of those flaky error reports during many local test runs her on my machine recently. |
import { beforeAll, describe, it } from "jsr:@std/testing@^0.220.1/bdd";
import { assertEquals } from "jsr:@std/assert@^0.220.1/assert_equals";
describe("DOMNode", () => {
let node;
beforeAll(async () => {
node = await xmlFromString(…);
});
it("in root namespace", () => assertEquals(…));
it("in leaf namespace", () => assertEquals(…));
});
|
@0f-0b is right. I am closing this and have opened a follow up in std to add an error message when one passes an async function to describe: denoland/std#5034 |
Version: Deno 1.41.3
Here are 3 screenshots I took one after the other where for exactly the same test Deno responded with 3 different behaviours only one of which is correct.
This is not the only way in which Deno is broken. Another behaviour that I see it simply won't run the code inside the tests:
The text was updated successfully, but these errors were encountered: