mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
32855f2c85
This commit adds support for specifying threshold in the "--fail-fast" flag for "deno test" subcommand. Previously using "--fail-fast" stopped running the test suite after first failure and with this change users may specify number of failed tests that will cause the suite to be interrupted. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
30 lines
530 B
TypeScript
30 lines
530 B
TypeScript
Deno.test("test 1", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 2", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 3", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 4", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 5", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 6", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 7", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 8", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 9", () => {
|
|
throw new Error();
|
|
});
|
|
Deno.test("test 0", () => {
|
|
throw new Error();
|
|
});
|