◐ Shell
clean mode source ↗

test_runner: simplify hook running logic · nodejs/node@bf3967f

@@ -77,7 +77,6 @@ not ok 3 - before throws

7777

*

7878

*

7979

*

80-

*

8180

...

8281

# Subtest: before throws - no subtests

8382

not ok 4 - before throws - no subtests

@@ -97,7 +96,6 @@ not ok 4 - before throws - no subtests

9796

*

9897

*

9998

*

100-

*

10199

...

102100

# Subtest: after throws

103101

# Subtest: 1

@@ -129,6 +127,7 @@ not ok 5 - after throws

129127

*

130128

*

131129

*

130+

*

132131

...

133132

# Subtest: after throws - no subtests

134133

not ok 6 - after throws - no subtests

@@ -149,6 +148,7 @@ not ok 6 - after throws - no subtests

149148

*

150149

*

151150

*

151+

*

152152

...

153153

# Subtest: beforeEach throws

154154

# Subtest: 1

@@ -167,9 +167,9 @@ not ok 6 - after throws - no subtests

167167

*

168168

*

169169

*

170-

async Promise.all (index 0)

171170

*

172171

*

172+

new Promise (<anonymous>)

173173

...

174174

# Subtest: 2

175175

not ok 2 - 2

@@ -188,6 +188,8 @@ not ok 6 - after throws - no subtests

188188

*

189189

*

190190

*

191+

*

192+

async Promise.all (index 0)

191193

...

192194

1..2

193195

not ok 7 - beforeEach throws

@@ -482,7 +484,6 @@ not ok 15 - t.after throws

482484

*

483485

*

484486

*

485-

*

486487

...

487488

# Subtest: t.after throws - no subtests

488489

not ok 16 - t.after throws - no subtests

@@ -502,7 +503,6 @@ not ok 16 - t.after throws - no subtests

502503

*

503504

*

504505

*

505-

*

506506

...

507507

# Subtest: t.beforeEach throws

508508

# Subtest: 1

@@ -765,7 +765,6 @@ not ok 24 - run after when before throws

765765

*

766766

*

767767

*

768-

*

769768

...

770769

# Subtest: test hooks - async

771770

# Subtest: 1