11cb0ef41Sopenharmony_ciTAP version 13 21cb0ef41Sopenharmony_ci# Subtest: describe hooks 31cb0ef41Sopenharmony_ci # Subtest: 1 41cb0ef41Sopenharmony_ci ok 1 - 1 51cb0ef41Sopenharmony_ci --- 61cb0ef41Sopenharmony_ci duration_ms: * 71cb0ef41Sopenharmony_ci ... 81cb0ef41Sopenharmony_ci # Subtest: 2 91cb0ef41Sopenharmony_ci ok 2 - 2 101cb0ef41Sopenharmony_ci --- 111cb0ef41Sopenharmony_ci duration_ms: * 121cb0ef41Sopenharmony_ci ... 131cb0ef41Sopenharmony_ci # Subtest: nested 141cb0ef41Sopenharmony_ci # Subtest: nested 1 151cb0ef41Sopenharmony_ci ok 1 - nested 1 161cb0ef41Sopenharmony_ci --- 171cb0ef41Sopenharmony_ci duration_ms: * 181cb0ef41Sopenharmony_ci ... 191cb0ef41Sopenharmony_ci # Subtest: nested 2 201cb0ef41Sopenharmony_ci ok 2 - nested 2 211cb0ef41Sopenharmony_ci --- 221cb0ef41Sopenharmony_ci duration_ms: * 231cb0ef41Sopenharmony_ci ... 241cb0ef41Sopenharmony_ci 1..2 251cb0ef41Sopenharmony_ci ok 3 - nested 261cb0ef41Sopenharmony_ci --- 271cb0ef41Sopenharmony_ci duration_ms: * 281cb0ef41Sopenharmony_ci type: 'suite' 291cb0ef41Sopenharmony_ci ... 301cb0ef41Sopenharmony_ci 1..3 311cb0ef41Sopenharmony_ciok 1 - describe hooks 321cb0ef41Sopenharmony_ci --- 331cb0ef41Sopenharmony_ci duration_ms: * 341cb0ef41Sopenharmony_ci type: 'suite' 351cb0ef41Sopenharmony_ci ... 361cb0ef41Sopenharmony_ci# Subtest: before throws 371cb0ef41Sopenharmony_ci # Subtest: 1 381cb0ef41Sopenharmony_ci not ok 1 - 1 391cb0ef41Sopenharmony_ci --- 401cb0ef41Sopenharmony_ci duration_ms: * 411cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 421cb0ef41Sopenharmony_ci failureType: 'cancelledByParent' 431cb0ef41Sopenharmony_ci error: 'test did not finish before its parent and was cancelled' 441cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 451cb0ef41Sopenharmony_ci ... 461cb0ef41Sopenharmony_ci # Subtest: 2 471cb0ef41Sopenharmony_ci not ok 2 - 2 481cb0ef41Sopenharmony_ci --- 491cb0ef41Sopenharmony_ci duration_ms: * 501cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 511cb0ef41Sopenharmony_ci failureType: 'cancelledByParent' 521cb0ef41Sopenharmony_ci error: 'test did not finish before its parent and was cancelled' 531cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 541cb0ef41Sopenharmony_ci ... 551cb0ef41Sopenharmony_ci 1..2 561cb0ef41Sopenharmony_cinot ok 2 - before throws 571cb0ef41Sopenharmony_ci --- 581cb0ef41Sopenharmony_ci duration_ms: * 591cb0ef41Sopenharmony_ci type: 'suite' 601cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 611cb0ef41Sopenharmony_ci failureType: 'hookFailed' 621cb0ef41Sopenharmony_ci error: 'before' 631cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 641cb0ef41Sopenharmony_ci stack: |- 651cb0ef41Sopenharmony_ci * 661cb0ef41Sopenharmony_ci * 671cb0ef41Sopenharmony_ci * 681cb0ef41Sopenharmony_ci * 691cb0ef41Sopenharmony_ci * 701cb0ef41Sopenharmony_ci * 711cb0ef41Sopenharmony_ci * 721cb0ef41Sopenharmony_ci * 731cb0ef41Sopenharmony_ci * 741cb0ef41Sopenharmony_ci ... 751cb0ef41Sopenharmony_ci# Subtest: after throws 761cb0ef41Sopenharmony_ci # Subtest: 1 771cb0ef41Sopenharmony_ci ok 1 - 1 781cb0ef41Sopenharmony_ci --- 791cb0ef41Sopenharmony_ci duration_ms: * 801cb0ef41Sopenharmony_ci ... 811cb0ef41Sopenharmony_ci # Subtest: 2 821cb0ef41Sopenharmony_ci ok 2 - 2 831cb0ef41Sopenharmony_ci --- 841cb0ef41Sopenharmony_ci duration_ms: * 851cb0ef41Sopenharmony_ci ... 861cb0ef41Sopenharmony_ci 1..2 871cb0ef41Sopenharmony_cinot ok 3 - after throws 881cb0ef41Sopenharmony_ci --- 891cb0ef41Sopenharmony_ci duration_ms: * 901cb0ef41Sopenharmony_ci type: 'suite' 911cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 921cb0ef41Sopenharmony_ci failureType: 'hookFailed' 931cb0ef41Sopenharmony_ci error: 'after' 941cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 951cb0ef41Sopenharmony_ci stack: |- 961cb0ef41Sopenharmony_ci * 971cb0ef41Sopenharmony_ci * 981cb0ef41Sopenharmony_ci * 991cb0ef41Sopenharmony_ci * 1001cb0ef41Sopenharmony_ci * 1011cb0ef41Sopenharmony_ci * 1021cb0ef41Sopenharmony_ci * 1031cb0ef41Sopenharmony_ci * 1041cb0ef41Sopenharmony_ci * 1051cb0ef41Sopenharmony_ci ... 1061cb0ef41Sopenharmony_ci# Subtest: beforeEach throws 1071cb0ef41Sopenharmony_ci # Subtest: 1 1081cb0ef41Sopenharmony_ci not ok 1 - 1 1091cb0ef41Sopenharmony_ci --- 1101cb0ef41Sopenharmony_ci duration_ms: * 1111cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 1121cb0ef41Sopenharmony_ci failureType: 'hookFailed' 1131cb0ef41Sopenharmony_ci error: 'beforeEach' 1141cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1151cb0ef41Sopenharmony_ci stack: |- 1161cb0ef41Sopenharmony_ci * 1171cb0ef41Sopenharmony_ci * 1181cb0ef41Sopenharmony_ci * 1191cb0ef41Sopenharmony_ci * 1201cb0ef41Sopenharmony_ci * 1211cb0ef41Sopenharmony_ci * 1221cb0ef41Sopenharmony_ci * 1231cb0ef41Sopenharmony_ci async Promise.all (index 0) 1241cb0ef41Sopenharmony_ci * 1251cb0ef41Sopenharmony_ci * 1261cb0ef41Sopenharmony_ci ... 1271cb0ef41Sopenharmony_ci # Subtest: 2 1281cb0ef41Sopenharmony_ci not ok 2 - 2 1291cb0ef41Sopenharmony_ci --- 1301cb0ef41Sopenharmony_ci duration_ms: * 1311cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 1321cb0ef41Sopenharmony_ci failureType: 'hookFailed' 1331cb0ef41Sopenharmony_ci error: 'beforeEach' 1341cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1351cb0ef41Sopenharmony_ci stack: |- 1361cb0ef41Sopenharmony_ci * 1371cb0ef41Sopenharmony_ci * 1381cb0ef41Sopenharmony_ci * 1391cb0ef41Sopenharmony_ci * 1401cb0ef41Sopenharmony_ci * 1411cb0ef41Sopenharmony_ci * 1421cb0ef41Sopenharmony_ci * 1431cb0ef41Sopenharmony_ci * 1441cb0ef41Sopenharmony_ci ... 1451cb0ef41Sopenharmony_ci 1..2 1461cb0ef41Sopenharmony_cinot ok 4 - beforeEach throws 1471cb0ef41Sopenharmony_ci --- 1481cb0ef41Sopenharmony_ci duration_ms: * 1491cb0ef41Sopenharmony_ci type: 'suite' 1501cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 1511cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 1521cb0ef41Sopenharmony_ci error: '2 subtests failed' 1531cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1541cb0ef41Sopenharmony_ci ... 1551cb0ef41Sopenharmony_ci# Subtest: afterEach throws 1561cb0ef41Sopenharmony_ci # Subtest: 1 1571cb0ef41Sopenharmony_ci not ok 1 - 1 1581cb0ef41Sopenharmony_ci --- 1591cb0ef41Sopenharmony_ci duration_ms: * 1601cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 1611cb0ef41Sopenharmony_ci failureType: 'hookFailed' 1621cb0ef41Sopenharmony_ci error: 'afterEach' 1631cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1641cb0ef41Sopenharmony_ci stack: |- 1651cb0ef41Sopenharmony_ci * 1661cb0ef41Sopenharmony_ci * 1671cb0ef41Sopenharmony_ci * 1681cb0ef41Sopenharmony_ci * 1691cb0ef41Sopenharmony_ci * 1701cb0ef41Sopenharmony_ci * 1711cb0ef41Sopenharmony_ci * 1721cb0ef41Sopenharmony_ci * 1731cb0ef41Sopenharmony_ci async Promise.all (index 0) 1741cb0ef41Sopenharmony_ci * 1751cb0ef41Sopenharmony_ci ... 1761cb0ef41Sopenharmony_ci # Subtest: 2 1771cb0ef41Sopenharmony_ci not ok 2 - 2 1781cb0ef41Sopenharmony_ci --- 1791cb0ef41Sopenharmony_ci duration_ms: * 1801cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 1811cb0ef41Sopenharmony_ci failureType: 'hookFailed' 1821cb0ef41Sopenharmony_ci error: 'afterEach' 1831cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1841cb0ef41Sopenharmony_ci stack: |- 1851cb0ef41Sopenharmony_ci * 1861cb0ef41Sopenharmony_ci * 1871cb0ef41Sopenharmony_ci * 1881cb0ef41Sopenharmony_ci * 1891cb0ef41Sopenharmony_ci * 1901cb0ef41Sopenharmony_ci * 1911cb0ef41Sopenharmony_ci * 1921cb0ef41Sopenharmony_ci * 1931cb0ef41Sopenharmony_ci * 1941cb0ef41Sopenharmony_ci ... 1951cb0ef41Sopenharmony_ci 1..2 1961cb0ef41Sopenharmony_cinot ok 5 - afterEach throws 1971cb0ef41Sopenharmony_ci --- 1981cb0ef41Sopenharmony_ci duration_ms: * 1991cb0ef41Sopenharmony_ci type: 'suite' 2001cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 2011cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 2021cb0ef41Sopenharmony_ci error: '2 subtests failed' 2031cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2041cb0ef41Sopenharmony_ci ... 2051cb0ef41Sopenharmony_ci# Subtest: afterEach when test fails 2061cb0ef41Sopenharmony_ci # Subtest: 1 2071cb0ef41Sopenharmony_ci not ok 1 - 1 2081cb0ef41Sopenharmony_ci --- 2091cb0ef41Sopenharmony_ci duration_ms: * 2101cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 2111cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 2121cb0ef41Sopenharmony_ci error: 'test' 2131cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2141cb0ef41Sopenharmony_ci stack: |- 2151cb0ef41Sopenharmony_ci * 2161cb0ef41Sopenharmony_ci * 2171cb0ef41Sopenharmony_ci * 2181cb0ef41Sopenharmony_ci * 2191cb0ef41Sopenharmony_ci * 2201cb0ef41Sopenharmony_ci * 2211cb0ef41Sopenharmony_ci new Promise (<anonymous>) 2221cb0ef41Sopenharmony_ci * 2231cb0ef41Sopenharmony_ci * 2241cb0ef41Sopenharmony_ci Array.map (<anonymous>) 2251cb0ef41Sopenharmony_ci ... 2261cb0ef41Sopenharmony_ci # Subtest: 2 2271cb0ef41Sopenharmony_ci ok 2 - 2 2281cb0ef41Sopenharmony_ci --- 2291cb0ef41Sopenharmony_ci duration_ms: * 2301cb0ef41Sopenharmony_ci ... 2311cb0ef41Sopenharmony_ci 1..2 2321cb0ef41Sopenharmony_cinot ok 6 - afterEach when test fails 2331cb0ef41Sopenharmony_ci --- 2341cb0ef41Sopenharmony_ci duration_ms: * 2351cb0ef41Sopenharmony_ci type: 'suite' 2361cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 2371cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 2381cb0ef41Sopenharmony_ci error: '1 subtest failed' 2391cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2401cb0ef41Sopenharmony_ci ... 2411cb0ef41Sopenharmony_ci# Subtest: afterEach throws and test fails 2421cb0ef41Sopenharmony_ci # Subtest: 1 2431cb0ef41Sopenharmony_ci not ok 1 - 1 2441cb0ef41Sopenharmony_ci --- 2451cb0ef41Sopenharmony_ci duration_ms: * 2461cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 2471cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 2481cb0ef41Sopenharmony_ci error: 'test' 2491cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2501cb0ef41Sopenharmony_ci stack: |- 2511cb0ef41Sopenharmony_ci * 2521cb0ef41Sopenharmony_ci * 2531cb0ef41Sopenharmony_ci * 2541cb0ef41Sopenharmony_ci * 2551cb0ef41Sopenharmony_ci * 2561cb0ef41Sopenharmony_ci * 2571cb0ef41Sopenharmony_ci new Promise (<anonymous>) 2581cb0ef41Sopenharmony_ci * 2591cb0ef41Sopenharmony_ci * 2601cb0ef41Sopenharmony_ci Array.map (<anonymous>) 2611cb0ef41Sopenharmony_ci ... 2621cb0ef41Sopenharmony_ci # Subtest: 2 2631cb0ef41Sopenharmony_ci not ok 2 - 2 2641cb0ef41Sopenharmony_ci --- 2651cb0ef41Sopenharmony_ci duration_ms: * 2661cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):3' 2671cb0ef41Sopenharmony_ci failureType: 'hookFailed' 2681cb0ef41Sopenharmony_ci error: 'afterEach' 2691cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2701cb0ef41Sopenharmony_ci stack: |- 2711cb0ef41Sopenharmony_ci * 2721cb0ef41Sopenharmony_ci * 2731cb0ef41Sopenharmony_ci * 2741cb0ef41Sopenharmony_ci * 2751cb0ef41Sopenharmony_ci * 2761cb0ef41Sopenharmony_ci * 2771cb0ef41Sopenharmony_ci * 2781cb0ef41Sopenharmony_ci * 2791cb0ef41Sopenharmony_ci * 2801cb0ef41Sopenharmony_ci ... 2811cb0ef41Sopenharmony_ci 1..2 2821cb0ef41Sopenharmony_cinot ok 7 - afterEach throws and test fails 2831cb0ef41Sopenharmony_ci --- 2841cb0ef41Sopenharmony_ci duration_ms: * 2851cb0ef41Sopenharmony_ci type: 'suite' 2861cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 2871cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 2881cb0ef41Sopenharmony_ci error: '2 subtests failed' 2891cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2901cb0ef41Sopenharmony_ci ... 2911cb0ef41Sopenharmony_ci# Subtest: test hooks 2921cb0ef41Sopenharmony_ci # Subtest: 1 2931cb0ef41Sopenharmony_ci ok 1 - 1 2941cb0ef41Sopenharmony_ci --- 2951cb0ef41Sopenharmony_ci duration_ms: * 2961cb0ef41Sopenharmony_ci ... 2971cb0ef41Sopenharmony_ci # Subtest: 2 2981cb0ef41Sopenharmony_ci ok 2 - 2 2991cb0ef41Sopenharmony_ci --- 3001cb0ef41Sopenharmony_ci duration_ms: * 3011cb0ef41Sopenharmony_ci ... 3021cb0ef41Sopenharmony_ci # Subtest: nested 3031cb0ef41Sopenharmony_ci # Subtest: nested 1 3041cb0ef41Sopenharmony_ci ok 1 - nested 1 3051cb0ef41Sopenharmony_ci --- 3061cb0ef41Sopenharmony_ci duration_ms: * 3071cb0ef41Sopenharmony_ci ... 3081cb0ef41Sopenharmony_ci # Subtest: nested 2 3091cb0ef41Sopenharmony_ci ok 2 - nested 2 3101cb0ef41Sopenharmony_ci --- 3111cb0ef41Sopenharmony_ci duration_ms: * 3121cb0ef41Sopenharmony_ci ... 3131cb0ef41Sopenharmony_ci 1..2 3141cb0ef41Sopenharmony_ci ok 3 - nested 3151cb0ef41Sopenharmony_ci --- 3161cb0ef41Sopenharmony_ci duration_ms: * 3171cb0ef41Sopenharmony_ci ... 3181cb0ef41Sopenharmony_ci 1..3 3191cb0ef41Sopenharmony_ciok 8 - test hooks 3201cb0ef41Sopenharmony_ci --- 3211cb0ef41Sopenharmony_ci duration_ms: * 3221cb0ef41Sopenharmony_ci ... 3231cb0ef41Sopenharmony_ci# Subtest: t.before throws 3241cb0ef41Sopenharmony_ci # Subtest: 1 3251cb0ef41Sopenharmony_ci not ok 1 - 1 3261cb0ef41Sopenharmony_ci --- 3271cb0ef41Sopenharmony_ci duration_ms: * 3281cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 3291cb0ef41Sopenharmony_ci failureType: 'hookFailed' 3301cb0ef41Sopenharmony_ci error: 'before' 3311cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 3321cb0ef41Sopenharmony_ci stack: |- 3331cb0ef41Sopenharmony_ci * 3341cb0ef41Sopenharmony_ci * 3351cb0ef41Sopenharmony_ci * 3361cb0ef41Sopenharmony_ci * 3371cb0ef41Sopenharmony_ci * 3381cb0ef41Sopenharmony_ci * 3391cb0ef41Sopenharmony_ci * 3401cb0ef41Sopenharmony_ci * 3411cb0ef41Sopenharmony_ci * 3421cb0ef41Sopenharmony_ci * 3431cb0ef41Sopenharmony_ci ... 3441cb0ef41Sopenharmony_ci # Subtest: 2 3451cb0ef41Sopenharmony_ci not ok 2 - 2 3461cb0ef41Sopenharmony_ci --- 3471cb0ef41Sopenharmony_ci duration_ms: * 3481cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 3491cb0ef41Sopenharmony_ci failureType: 'hookFailed' 3501cb0ef41Sopenharmony_ci error: 'before' 3511cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 3521cb0ef41Sopenharmony_ci stack: |- 3531cb0ef41Sopenharmony_ci * 3541cb0ef41Sopenharmony_ci * 3551cb0ef41Sopenharmony_ci * 3561cb0ef41Sopenharmony_ci * 3571cb0ef41Sopenharmony_ci * 3581cb0ef41Sopenharmony_ci * 3591cb0ef41Sopenharmony_ci * 3601cb0ef41Sopenharmony_ci * 3611cb0ef41Sopenharmony_ci * 3621cb0ef41Sopenharmony_ci * 3631cb0ef41Sopenharmony_ci ... 3641cb0ef41Sopenharmony_ci 1..2 3651cb0ef41Sopenharmony_cinot ok 9 - t.before throws 3661cb0ef41Sopenharmony_ci --- 3671cb0ef41Sopenharmony_ci duration_ms: * 3681cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 3691cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 3701cb0ef41Sopenharmony_ci error: '2 subtests failed' 3711cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 3721cb0ef41Sopenharmony_ci ... 3731cb0ef41Sopenharmony_ci# Subtest: t.beforeEach throws 3741cb0ef41Sopenharmony_ci # Subtest: 1 3751cb0ef41Sopenharmony_ci not ok 1 - 1 3761cb0ef41Sopenharmony_ci --- 3771cb0ef41Sopenharmony_ci duration_ms: * 3781cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 3791cb0ef41Sopenharmony_ci failureType: 'hookFailed' 3801cb0ef41Sopenharmony_ci error: 'beforeEach' 3811cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 3821cb0ef41Sopenharmony_ci stack: |- 3831cb0ef41Sopenharmony_ci * 3841cb0ef41Sopenharmony_ci * 3851cb0ef41Sopenharmony_ci * 3861cb0ef41Sopenharmony_ci * 3871cb0ef41Sopenharmony_ci * 3881cb0ef41Sopenharmony_ci * 3891cb0ef41Sopenharmony_ci * 3901cb0ef41Sopenharmony_ci * 3911cb0ef41Sopenharmony_ci * 3921cb0ef41Sopenharmony_ci * 3931cb0ef41Sopenharmony_ci ... 3941cb0ef41Sopenharmony_ci # Subtest: 2 3951cb0ef41Sopenharmony_ci not ok 2 - 2 3961cb0ef41Sopenharmony_ci --- 3971cb0ef41Sopenharmony_ci duration_ms: * 3981cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 3991cb0ef41Sopenharmony_ci failureType: 'hookFailed' 4001cb0ef41Sopenharmony_ci error: 'beforeEach' 4011cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4021cb0ef41Sopenharmony_ci stack: |- 4031cb0ef41Sopenharmony_ci * 4041cb0ef41Sopenharmony_ci * 4051cb0ef41Sopenharmony_ci * 4061cb0ef41Sopenharmony_ci * 4071cb0ef41Sopenharmony_ci * 4081cb0ef41Sopenharmony_ci * 4091cb0ef41Sopenharmony_ci * 4101cb0ef41Sopenharmony_ci * 4111cb0ef41Sopenharmony_ci * 4121cb0ef41Sopenharmony_ci * 4131cb0ef41Sopenharmony_ci ... 4141cb0ef41Sopenharmony_ci 1..2 4151cb0ef41Sopenharmony_cinot ok 10 - t.beforeEach throws 4161cb0ef41Sopenharmony_ci --- 4171cb0ef41Sopenharmony_ci duration_ms: * 4181cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 4191cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 4201cb0ef41Sopenharmony_ci error: '2 subtests failed' 4211cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4221cb0ef41Sopenharmony_ci ... 4231cb0ef41Sopenharmony_ci# Subtest: t.afterEach throws 4241cb0ef41Sopenharmony_ci # Subtest: 1 4251cb0ef41Sopenharmony_ci not ok 1 - 1 4261cb0ef41Sopenharmony_ci --- 4271cb0ef41Sopenharmony_ci duration_ms: * 4281cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 4291cb0ef41Sopenharmony_ci failureType: 'hookFailed' 4301cb0ef41Sopenharmony_ci error: 'afterEach' 4311cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4321cb0ef41Sopenharmony_ci stack: |- 4331cb0ef41Sopenharmony_ci * 4341cb0ef41Sopenharmony_ci * 4351cb0ef41Sopenharmony_ci * 4361cb0ef41Sopenharmony_ci * 4371cb0ef41Sopenharmony_ci * 4381cb0ef41Sopenharmony_ci * 4391cb0ef41Sopenharmony_ci * 4401cb0ef41Sopenharmony_ci * 4411cb0ef41Sopenharmony_ci * 4421cb0ef41Sopenharmony_ci * 4431cb0ef41Sopenharmony_ci ... 4441cb0ef41Sopenharmony_ci # Subtest: 2 4451cb0ef41Sopenharmony_ci not ok 2 - 2 4461cb0ef41Sopenharmony_ci --- 4471cb0ef41Sopenharmony_ci duration_ms: * 4481cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 4491cb0ef41Sopenharmony_ci failureType: 'hookFailed' 4501cb0ef41Sopenharmony_ci error: 'afterEach' 4511cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4521cb0ef41Sopenharmony_ci stack: |- 4531cb0ef41Sopenharmony_ci * 4541cb0ef41Sopenharmony_ci * 4551cb0ef41Sopenharmony_ci * 4561cb0ef41Sopenharmony_ci * 4571cb0ef41Sopenharmony_ci * 4581cb0ef41Sopenharmony_ci * 4591cb0ef41Sopenharmony_ci * 4601cb0ef41Sopenharmony_ci * 4611cb0ef41Sopenharmony_ci * 4621cb0ef41Sopenharmony_ci * 4631cb0ef41Sopenharmony_ci ... 4641cb0ef41Sopenharmony_ci 1..2 4651cb0ef41Sopenharmony_cinot ok 11 - t.afterEach throws 4661cb0ef41Sopenharmony_ci --- 4671cb0ef41Sopenharmony_ci duration_ms: * 4681cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 4691cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 4701cb0ef41Sopenharmony_ci error: '2 subtests failed' 4711cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4721cb0ef41Sopenharmony_ci ... 4731cb0ef41Sopenharmony_ci# Subtest: afterEach when test fails 4741cb0ef41Sopenharmony_ci # Subtest: 1 4751cb0ef41Sopenharmony_ci not ok 1 - 1 4761cb0ef41Sopenharmony_ci --- 4771cb0ef41Sopenharmony_ci duration_ms: * 4781cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 4791cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 4801cb0ef41Sopenharmony_ci error: 'test' 4811cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4821cb0ef41Sopenharmony_ci stack: |- 4831cb0ef41Sopenharmony_ci * 4841cb0ef41Sopenharmony_ci * 4851cb0ef41Sopenharmony_ci * 4861cb0ef41Sopenharmony_ci * 4871cb0ef41Sopenharmony_ci * 4881cb0ef41Sopenharmony_ci * 4891cb0ef41Sopenharmony_ci * 4901cb0ef41Sopenharmony_ci * 4911cb0ef41Sopenharmony_ci * 4921cb0ef41Sopenharmony_ci ... 4931cb0ef41Sopenharmony_ci # Subtest: 2 4941cb0ef41Sopenharmony_ci ok 2 - 2 4951cb0ef41Sopenharmony_ci --- 4961cb0ef41Sopenharmony_ci duration_ms: * 4971cb0ef41Sopenharmony_ci ... 4981cb0ef41Sopenharmony_ci 1..2 4991cb0ef41Sopenharmony_cinot ok 12 - afterEach when test fails 5001cb0ef41Sopenharmony_ci --- 5011cb0ef41Sopenharmony_ci duration_ms: * 5021cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 5031cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 5041cb0ef41Sopenharmony_ci error: '1 subtest failed' 5051cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5061cb0ef41Sopenharmony_ci ... 5071cb0ef41Sopenharmony_ci# Subtest: afterEach throws and test fails 5081cb0ef41Sopenharmony_ci # Subtest: 1 5091cb0ef41Sopenharmony_ci not ok 1 - 1 5101cb0ef41Sopenharmony_ci --- 5111cb0ef41Sopenharmony_ci duration_ms: * 5121cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 5131cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 5141cb0ef41Sopenharmony_ci error: 'test' 5151cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5161cb0ef41Sopenharmony_ci stack: |- 5171cb0ef41Sopenharmony_ci * 5181cb0ef41Sopenharmony_ci * 5191cb0ef41Sopenharmony_ci * 5201cb0ef41Sopenharmony_ci * 5211cb0ef41Sopenharmony_ci * 5221cb0ef41Sopenharmony_ci * 5231cb0ef41Sopenharmony_ci * 5241cb0ef41Sopenharmony_ci * 5251cb0ef41Sopenharmony_ci * 5261cb0ef41Sopenharmony_ci ... 5271cb0ef41Sopenharmony_ci # Subtest: 2 5281cb0ef41Sopenharmony_ci not ok 2 - 2 5291cb0ef41Sopenharmony_ci --- 5301cb0ef41Sopenharmony_ci duration_ms: * 5311cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):11' 5321cb0ef41Sopenharmony_ci failureType: 'hookFailed' 5331cb0ef41Sopenharmony_ci error: 'afterEach' 5341cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5351cb0ef41Sopenharmony_ci stack: |- 5361cb0ef41Sopenharmony_ci * 5371cb0ef41Sopenharmony_ci * 5381cb0ef41Sopenharmony_ci * 5391cb0ef41Sopenharmony_ci * 5401cb0ef41Sopenharmony_ci * 5411cb0ef41Sopenharmony_ci * 5421cb0ef41Sopenharmony_ci * 5431cb0ef41Sopenharmony_ci * 5441cb0ef41Sopenharmony_ci * 5451cb0ef41Sopenharmony_ci * 5461cb0ef41Sopenharmony_ci ... 5471cb0ef41Sopenharmony_ci 1..2 5481cb0ef41Sopenharmony_cinot ok 13 - afterEach throws and test fails 5491cb0ef41Sopenharmony_ci --- 5501cb0ef41Sopenharmony_ci duration_ms: * 5511cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 5521cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 5531cb0ef41Sopenharmony_ci error: '2 subtests failed' 5541cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5551cb0ef41Sopenharmony_ci ... 5561cb0ef41Sopenharmony_ci# Subtest: t.after() is called if test body throws 5571cb0ef41Sopenharmony_cinot ok 14 - t.after() is called if test body throws 5581cb0ef41Sopenharmony_ci --- 5591cb0ef41Sopenharmony_ci duration_ms: * 5601cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/hooks.js:(LINE):1' 5611cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 5621cb0ef41Sopenharmony_ci error: 'bye' 5631cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5641cb0ef41Sopenharmony_ci stack: |- 5651cb0ef41Sopenharmony_ci * 5661cb0ef41Sopenharmony_ci * 5671cb0ef41Sopenharmony_ci * 5681cb0ef41Sopenharmony_ci * 5691cb0ef41Sopenharmony_ci ... 5701cb0ef41Sopenharmony_ci# - after() called 5711cb0ef41Sopenharmony_ci1..14 5721cb0ef41Sopenharmony_ci# before 1 called 5731cb0ef41Sopenharmony_ci# before 2 called 5741cb0ef41Sopenharmony_ci# after 1 called 5751cb0ef41Sopenharmony_ci# after 2 called 5761cb0ef41Sopenharmony_ci# tests 38 5771cb0ef41Sopenharmony_ci# suites 8 5781cb0ef41Sopenharmony_ci# pass 14 5791cb0ef41Sopenharmony_ci# fail 22 5801cb0ef41Sopenharmony_ci# cancelled 2 5811cb0ef41Sopenharmony_ci# skipped 0 5821cb0ef41Sopenharmony_ci# todo 0 5831cb0ef41Sopenharmony_ci# duration_ms * 584