1before 22.1 32.2 4after 5beforeEach 64.1 7afterEach 84.2 9TAP version 13 10# Subtest: 1 before describe 11 # Subtest: test 1 12 not ok 1 - test 1 13 --- 14 duration_ms: * 15 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):3' 16 failureType: 'cancelledByParent' 17 error: 'test did not finish before its parent and was cancelled' 18 code: 'ERR_TEST_FAILURE' 19 ... 20 # Subtest: test 2 21 not ok 2 - test 2 22 --- 23 duration_ms: * 24 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):3' 25 failureType: 'cancelledByParent' 26 error: 'test did not finish before its parent and was cancelled' 27 code: 'ERR_TEST_FAILURE' 28 ... 29 1..2 30not ok 1 - 1 before describe 31 --- 32 duration_ms: * 33 type: 'suite' 34 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):1' 35 failureType: 'hookFailed' 36 error: 'This operation was aborted' 37 code: 20 38 name: 'AbortError' 39 stack: |- 40 * 41 * 42 * 43 * 44 * 45 * 46 * 47 * 48 * 49 * 50 ... 51# Subtest: 2 after describe 52 # Subtest: test 1 53 ok 1 - test 1 54 --- 55 duration_ms: * 56 ... 57 # Subtest: test 2 58 ok 2 - test 2 59 --- 60 duration_ms: * 61 ... 62 1..2 63not ok 2 - 2 after describe 64 --- 65 duration_ms: * 66 type: 'suite' 67 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):1' 68 failureType: 'hookFailed' 69 error: 'This operation was aborted' 70 code: 20 71 name: 'AbortError' 72 stack: |- 73 * 74 * 75 * 76 * 77 * 78 * 79 * 80 * 81 * 82 * 83 ... 84# Subtest: 3 beforeEach describe 85 # Subtest: test 1 86 not ok 1 - test 1 87 --- 88 duration_ms: * 89 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):3' 90 failureType: 'hookFailed' 91 error: 'This operation was aborted' 92 code: 20 93 name: 'AbortError' 94 stack: |- 95 * 96 * 97 * 98 * 99 * 100 * 101 * 102 * 103 * 104 async Promise.all (index 0) 105 ... 106 # Subtest: test 2 107 not ok 2 - test 2 108 --- 109 duration_ms: * 110 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):3' 111 failureType: 'hookFailed' 112 error: 'This operation was aborted' 113 code: 20 114 name: 'AbortError' 115 stack: |- 116 * 117 * 118 * 119 * 120 * 121 * 122 * 123 * 124 * 125 async Promise.all (index 0) 126 ... 127 1..2 128not ok 3 - 3 beforeEach describe 129 --- 130 duration_ms: * 131 type: 'suite' 132 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):1' 133 failureType: 'subtestsFailed' 134 error: '2 subtests failed' 135 code: 'ERR_TEST_FAILURE' 136 ... 137# Subtest: 4 afterEach describe 138 # Subtest: test 1 139 not ok 1 - test 1 140 --- 141 duration_ms: * 142 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):3' 143 failureType: 'hookFailed' 144 error: 'This operation was aborted' 145 code: 20 146 name: 'AbortError' 147 stack: |- 148 * 149 * 150 * 151 * 152 * 153 * 154 * 155 * 156 * 157 * 158 ... 159 # Subtest: test 2 160 not ok 2 - test 2 161 --- 162 duration_ms: * 163 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):3' 164 failureType: 'hookFailed' 165 error: 'This operation was aborted' 166 code: 20 167 name: 'AbortError' 168 stack: |- 169 * 170 * 171 * 172 * 173 * 174 * 175 * 176 * 177 * 178 * 179 ... 180 1..2 181not ok 4 - 4 afterEach describe 182 --- 183 duration_ms: * 184 type: 'suite' 185 location: '/test/fixtures/test-runner/output/abort_hooks.js:(LINE):1' 186 failureType: 'subtestsFailed' 187 error: '2 subtests failed' 188 code: 'ERR_TEST_FAILURE' 189 ... 1901..4 191# tests 8 192# suites 4 193# pass 2 194# fail 4 195# cancelled 2 196# skipped 0 197# todo 0 198# duration_ms * 199