-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(reporters): render tasks in tree when in TTY (#7503)
- Loading branch information
1 parent
dd6d685
commit 027ce9b
Showing
6 changed files
with
278 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { test, describe, expect } from "vitest"; | ||
|
||
test("test pass in root", () => {}); | ||
|
||
test.skip("test skip in root", () => {}); | ||
|
||
describe("suite in root", () => { | ||
test("test pass in 1. suite #1", () => {}); | ||
|
||
test("test pass in 1. suite #2", () => {}); | ||
|
||
describe("suite in suite", () => { | ||
test("test pass in nested suite #1", () => {}); | ||
|
||
test("test pass in nested suite #2", () => {}); | ||
|
||
describe("suite in nested suite", () => { | ||
test("test failure in 2x nested suite", () => { | ||
expect("should fail").toBe("as expected"); | ||
}); | ||
}); | ||
}); | ||
}); | ||
|
||
describe.skip("suite skip in root", () => { | ||
test("test 1.3", () => {}); | ||
|
||
describe("suite in suite", () => { | ||
test("test in nested suite", () => {}); | ||
|
||
test("test failure in nested suite of skipped suite", () => { | ||
expect("should fail").toBe("but should not run"); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { test, describe } from "vitest"; | ||
|
||
test("test 0.1", () => {}); | ||
|
||
test.skip("test 0.2", () => {}); | ||
|
||
describe("suite 1.1", () => { | ||
test("test 1.1", () => {}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters