Skip to content

Commit a690faa

Browse files
committed
08964
1 parent b8e0f87 commit a690faa

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

TODO.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,12 @@ $> bun-after test ./beforeall-ordering.test.ts
382382

383383
- [x] test/js/bun/net/tcp-server.test.ts
384384
- [ ] test/js/bun/test/describe2.test.ts
385-
- [ ] test/js/sql/sql-mysql.test.ts
385+
- [x] test/js/sql/sql-mysql.test.ts
386386
- [ ] test/regression/issue/21311.test.ts
387-
- [ ] test/regression/issue/08964/08964.test.ts
388-
- [ ] test/regression/issue/19850/19850.test.ts
387+
- [x] test/regression/issue/08964/08964.test.ts
388+
- [x] test/regression/issue/19850/19850.test.ts
389389
- [ ] test/js/bun/test/test-error-code-done-callback.test.ts
390+
- stacktrace slightly incorrect (it's including something that is irrelevant and not even in the trace?)
390391
- [x] test/bake/dev/ssg-pages-router.test.ts
391392
- [x] test/js/bun/http/bun-serve-file.test.ts
392393
- [ ] test/js/bun/spawn/spawn-pipe-leak.test.ts

test/regression/issue/08964/08964.fixture.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ function makeTest(yes = false) {
1212
}
1313

1414
describe("Outer", () => {
15+
makeTest();
1516
describe.only("Inner", () => {
16-
describe("Inside Only", () => {
17-
makeTest(true);
18-
});
1917
makeTest(true);
2018

2119
expected.push(997, 998, 999);
2220
test.each([997, 998, 999])("test %i", i => {
2321
runs.push(i);
2422
});
23+
24+
describe("Inside Only", () => {
25+
makeTest(true);
26+
});
2527
});
2628

2729
test.each([2997, 2998, 2999])("test %i", i => {
@@ -37,7 +39,6 @@ describe("Outer", () => {
3739
});
3840
});
3941
});
40-
makeTest();
4142
});
4243

4344
afterAll(() => {

test/regression/issue/19850/19850.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ error: beforeEach
3939
(fail) test 1
4040
4141
0 pass
42-
4 fail
43-
Ran 4 tests across 1 file.
42+
2 fail
43+
Ran 2 tests across 1 file.
4444
`);
4545
});
4646

0 commit comments

Comments
 (0)