11cb0ef41Sopenharmony_ciTAP version 13 21cb0ef41Sopenharmony_ci# Subtest: sync pass todo 31cb0ef41Sopenharmony_ciok 1 - sync pass todo # TODO 41cb0ef41Sopenharmony_ci --- 51cb0ef41Sopenharmony_ci duration_ms: * 61cb0ef41Sopenharmony_ci ... 71cb0ef41Sopenharmony_ci# Subtest: sync pass todo with message 81cb0ef41Sopenharmony_ciok 2 - sync pass todo with message # TODO this is a passing todo 91cb0ef41Sopenharmony_ci --- 101cb0ef41Sopenharmony_ci duration_ms: * 111cb0ef41Sopenharmony_ci ... 121cb0ef41Sopenharmony_ci# Subtest: sync todo 131cb0ef41Sopenharmony_cinot ok 3 - sync todo # TODO 141cb0ef41Sopenharmony_ci --- 151cb0ef41Sopenharmony_ci duration_ms: * 161cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):4' 171cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 181cb0ef41Sopenharmony_ci error: 'should not count as a failure' 191cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 201cb0ef41Sopenharmony_ci stack: |- 211cb0ef41Sopenharmony_ci * 221cb0ef41Sopenharmony_ci * 231cb0ef41Sopenharmony_ci * 241cb0ef41Sopenharmony_ci * 251cb0ef41Sopenharmony_ci * 261cb0ef41Sopenharmony_ci * 271cb0ef41Sopenharmony_ci * 281cb0ef41Sopenharmony_ci ... 291cb0ef41Sopenharmony_ci# Subtest: sync todo with message 301cb0ef41Sopenharmony_cinot ok 4 - sync todo with message # TODO this is a failing todo 311cb0ef41Sopenharmony_ci --- 321cb0ef41Sopenharmony_ci duration_ms: * 331cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 341cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 351cb0ef41Sopenharmony_ci error: 'should not count as a failure' 361cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 371cb0ef41Sopenharmony_ci stack: |- 381cb0ef41Sopenharmony_ci * 391cb0ef41Sopenharmony_ci * 401cb0ef41Sopenharmony_ci * 411cb0ef41Sopenharmony_ci * 421cb0ef41Sopenharmony_ci * 431cb0ef41Sopenharmony_ci * 441cb0ef41Sopenharmony_ci * 451cb0ef41Sopenharmony_ci ... 461cb0ef41Sopenharmony_ci# Subtest: sync skip pass 471cb0ef41Sopenharmony_ciok 5 - sync skip pass # SKIP 481cb0ef41Sopenharmony_ci --- 491cb0ef41Sopenharmony_ci duration_ms: * 501cb0ef41Sopenharmony_ci ... 511cb0ef41Sopenharmony_ci# Subtest: sync skip pass with message 521cb0ef41Sopenharmony_ciok 6 - sync skip pass with message # SKIP this is skipped 531cb0ef41Sopenharmony_ci --- 541cb0ef41Sopenharmony_ci duration_ms: * 551cb0ef41Sopenharmony_ci ... 561cb0ef41Sopenharmony_ci# Subtest: sync pass 571cb0ef41Sopenharmony_ciok 7 - sync pass 581cb0ef41Sopenharmony_ci --- 591cb0ef41Sopenharmony_ci duration_ms: * 601cb0ef41Sopenharmony_ci ... 611cb0ef41Sopenharmony_ci# Subtest: sync throw fail 621cb0ef41Sopenharmony_cinot ok 8 - sync throw fail 631cb0ef41Sopenharmony_ci --- 641cb0ef41Sopenharmony_ci duration_ms: * 651cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 661cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 671cb0ef41Sopenharmony_ci error: 'thrown from sync throw fail' 681cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 691cb0ef41Sopenharmony_ci stack: |- 701cb0ef41Sopenharmony_ci * 711cb0ef41Sopenharmony_ci * 721cb0ef41Sopenharmony_ci * 731cb0ef41Sopenharmony_ci * 741cb0ef41Sopenharmony_ci * 751cb0ef41Sopenharmony_ci * 761cb0ef41Sopenharmony_ci * 771cb0ef41Sopenharmony_ci ... 781cb0ef41Sopenharmony_ci# Subtest: async skip pass 791cb0ef41Sopenharmony_ciok 9 - async skip pass # SKIP 801cb0ef41Sopenharmony_ci --- 811cb0ef41Sopenharmony_ci duration_ms: * 821cb0ef41Sopenharmony_ci ... 831cb0ef41Sopenharmony_ci# Subtest: async pass 841cb0ef41Sopenharmony_ciok 10 - async pass 851cb0ef41Sopenharmony_ci --- 861cb0ef41Sopenharmony_ci duration_ms: * 871cb0ef41Sopenharmony_ci ... 881cb0ef41Sopenharmony_ci# Subtest: mixing describe/it and test should work 891cb0ef41Sopenharmony_ciok 11 - mixing describe/it and test should work 901cb0ef41Sopenharmony_ci --- 911cb0ef41Sopenharmony_ci duration_ms: * 921cb0ef41Sopenharmony_ci ... 931cb0ef41Sopenharmony_ci# Subtest: async throw fail 941cb0ef41Sopenharmony_cinot ok 12 - async throw fail 951cb0ef41Sopenharmony_ci --- 961cb0ef41Sopenharmony_ci duration_ms: * 971cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 981cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 991cb0ef41Sopenharmony_ci error: 'thrown from async throw fail' 1001cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1011cb0ef41Sopenharmony_ci stack: |- 1021cb0ef41Sopenharmony_ci * 1031cb0ef41Sopenharmony_ci * 1041cb0ef41Sopenharmony_ci * 1051cb0ef41Sopenharmony_ci * 1061cb0ef41Sopenharmony_ci * 1071cb0ef41Sopenharmony_ci * 1081cb0ef41Sopenharmony_ci * 1091cb0ef41Sopenharmony_ci ... 1101cb0ef41Sopenharmony_ci# Subtest: async skip fail 1111cb0ef41Sopenharmony_cinot ok 13 - async skip fail # SKIP 1121cb0ef41Sopenharmony_ci --- 1131cb0ef41Sopenharmony_ci duration_ms: * 1141cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 1151cb0ef41Sopenharmony_ci failureType: 'callbackAndPromisePresent' 1161cb0ef41Sopenharmony_ci error: 'passed a callback but also returned a Promise' 1171cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1181cb0ef41Sopenharmony_ci ... 1191cb0ef41Sopenharmony_ci# Subtest: async assertion fail 1201cb0ef41Sopenharmony_cinot ok 14 - async assertion fail 1211cb0ef41Sopenharmony_ci --- 1221cb0ef41Sopenharmony_ci duration_ms: * 1231cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 1241cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 1251cb0ef41Sopenharmony_ci error: |- 1261cb0ef41Sopenharmony_ci Expected values to be strictly equal: 1271cb0ef41Sopenharmony_ci 1281cb0ef41Sopenharmony_ci true !== false 1291cb0ef41Sopenharmony_ci 1301cb0ef41Sopenharmony_ci code: 'ERR_ASSERTION' 1311cb0ef41Sopenharmony_ci name: 'AssertionError' 1321cb0ef41Sopenharmony_ci expected: false 1331cb0ef41Sopenharmony_ci actual: true 1341cb0ef41Sopenharmony_ci operator: 'strictEqual' 1351cb0ef41Sopenharmony_ci stack: |- 1361cb0ef41Sopenharmony_ci * 1371cb0ef41Sopenharmony_ci * 1381cb0ef41Sopenharmony_ci * 1391cb0ef41Sopenharmony_ci * 1401cb0ef41Sopenharmony_ci * 1411cb0ef41Sopenharmony_ci * 1421cb0ef41Sopenharmony_ci * 1431cb0ef41Sopenharmony_ci ... 1441cb0ef41Sopenharmony_ci# Subtest: resolve pass 1451cb0ef41Sopenharmony_ciok 15 - resolve pass 1461cb0ef41Sopenharmony_ci --- 1471cb0ef41Sopenharmony_ci duration_ms: * 1481cb0ef41Sopenharmony_ci ... 1491cb0ef41Sopenharmony_ci# Subtest: reject fail 1501cb0ef41Sopenharmony_cinot ok 16 - reject fail 1511cb0ef41Sopenharmony_ci --- 1521cb0ef41Sopenharmony_ci duration_ms: * 1531cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 1541cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 1551cb0ef41Sopenharmony_ci error: 'rejected from reject fail' 1561cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1571cb0ef41Sopenharmony_ci stack: |- 1581cb0ef41Sopenharmony_ci * 1591cb0ef41Sopenharmony_ci * 1601cb0ef41Sopenharmony_ci * 1611cb0ef41Sopenharmony_ci * 1621cb0ef41Sopenharmony_ci * 1631cb0ef41Sopenharmony_ci * 1641cb0ef41Sopenharmony_ci * 1651cb0ef41Sopenharmony_ci ... 1661cb0ef41Sopenharmony_ci# Subtest: unhandled rejection - passes but warns 1671cb0ef41Sopenharmony_ciok 17 - unhandled rejection - passes but warns 1681cb0ef41Sopenharmony_ci --- 1691cb0ef41Sopenharmony_ci duration_ms: * 1701cb0ef41Sopenharmony_ci ... 1711cb0ef41Sopenharmony_ci# Subtest: async unhandled rejection - passes but warns 1721cb0ef41Sopenharmony_ciok 18 - async unhandled rejection - passes but warns 1731cb0ef41Sopenharmony_ci --- 1741cb0ef41Sopenharmony_ci duration_ms: * 1751cb0ef41Sopenharmony_ci ... 1761cb0ef41Sopenharmony_ci# Subtest: immediate throw - passes but warns 1771cb0ef41Sopenharmony_ciok 19 - immediate throw - passes but warns 1781cb0ef41Sopenharmony_ci --- 1791cb0ef41Sopenharmony_ci duration_ms: * 1801cb0ef41Sopenharmony_ci ... 1811cb0ef41Sopenharmony_ci# Subtest: immediate reject - passes but warns 1821cb0ef41Sopenharmony_ciok 20 - immediate reject - passes but warns 1831cb0ef41Sopenharmony_ci --- 1841cb0ef41Sopenharmony_ci duration_ms: * 1851cb0ef41Sopenharmony_ci ... 1861cb0ef41Sopenharmony_ci# Subtest: immediate resolve pass 1871cb0ef41Sopenharmony_ciok 21 - immediate resolve pass 1881cb0ef41Sopenharmony_ci --- 1891cb0ef41Sopenharmony_ci duration_ms: * 1901cb0ef41Sopenharmony_ci ... 1911cb0ef41Sopenharmony_ci# Subtest: subtest sync throw fail 1921cb0ef41Sopenharmony_ci # Subtest: +sync throw fail 1931cb0ef41Sopenharmony_ci not ok 1 - +sync throw fail 1941cb0ef41Sopenharmony_ci --- 1951cb0ef41Sopenharmony_ci duration_ms: * 1961cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 1971cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 1981cb0ef41Sopenharmony_ci error: 'thrown from subtest sync throw fail' 1991cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2001cb0ef41Sopenharmony_ci stack: |- 2011cb0ef41Sopenharmony_ci * 2021cb0ef41Sopenharmony_ci * 2031cb0ef41Sopenharmony_ci * 2041cb0ef41Sopenharmony_ci * 2051cb0ef41Sopenharmony_ci * 2061cb0ef41Sopenharmony_ci * 2071cb0ef41Sopenharmony_ci new Promise (<anonymous>) 2081cb0ef41Sopenharmony_ci * 2091cb0ef41Sopenharmony_ci * 2101cb0ef41Sopenharmony_ci Array.map (<anonymous>) 2111cb0ef41Sopenharmony_ci ... 2121cb0ef41Sopenharmony_ci # Subtest: mixing describe/it and test should work 2131cb0ef41Sopenharmony_ci ok 2 - mixing describe/it and test should work 2141cb0ef41Sopenharmony_ci --- 2151cb0ef41Sopenharmony_ci duration_ms: * 2161cb0ef41Sopenharmony_ci ... 2171cb0ef41Sopenharmony_ci 1..2 2181cb0ef41Sopenharmony_cinot ok 22 - subtest sync throw fail 2191cb0ef41Sopenharmony_ci --- 2201cb0ef41Sopenharmony_ci duration_ms: * 2211cb0ef41Sopenharmony_ci type: 'suite' 2221cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 2231cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 2241cb0ef41Sopenharmony_ci error: '1 subtest failed' 2251cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2261cb0ef41Sopenharmony_ci ... 2271cb0ef41Sopenharmony_ci# Subtest: sync throw non-error fail 2281cb0ef41Sopenharmony_cinot ok 23 - sync throw non-error fail 2291cb0ef41Sopenharmony_ci --- 2301cb0ef41Sopenharmony_ci duration_ms: * 2311cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 2321cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 2331cb0ef41Sopenharmony_ci error: 'Symbol(thrown symbol from sync throw non-error fail)' 2341cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2351cb0ef41Sopenharmony_ci ... 2361cb0ef41Sopenharmony_ci# Subtest: level 0a 2371cb0ef41Sopenharmony_ci # Subtest: level 1a 2381cb0ef41Sopenharmony_ci ok 1 - level 1a 2391cb0ef41Sopenharmony_ci --- 2401cb0ef41Sopenharmony_ci duration_ms: * 2411cb0ef41Sopenharmony_ci ... 2421cb0ef41Sopenharmony_ci # Subtest: level 1b 2431cb0ef41Sopenharmony_ci ok 2 - level 1b 2441cb0ef41Sopenharmony_ci --- 2451cb0ef41Sopenharmony_ci duration_ms: * 2461cb0ef41Sopenharmony_ci ... 2471cb0ef41Sopenharmony_ci # Subtest: level 1c 2481cb0ef41Sopenharmony_ci ok 3 - level 1c 2491cb0ef41Sopenharmony_ci --- 2501cb0ef41Sopenharmony_ci duration_ms: * 2511cb0ef41Sopenharmony_ci ... 2521cb0ef41Sopenharmony_ci # Subtest: level 1d 2531cb0ef41Sopenharmony_ci ok 4 - level 1d 2541cb0ef41Sopenharmony_ci --- 2551cb0ef41Sopenharmony_ci duration_ms: * 2561cb0ef41Sopenharmony_ci ... 2571cb0ef41Sopenharmony_ci 1..4 2581cb0ef41Sopenharmony_ciok 24 - level 0a 2591cb0ef41Sopenharmony_ci --- 2601cb0ef41Sopenharmony_ci duration_ms: * 2611cb0ef41Sopenharmony_ci type: 'suite' 2621cb0ef41Sopenharmony_ci ... 2631cb0ef41Sopenharmony_ci# Subtest: invalid subtest - pass but subtest fails 2641cb0ef41Sopenharmony_ciok 25 - invalid subtest - pass but subtest fails 2651cb0ef41Sopenharmony_ci --- 2661cb0ef41Sopenharmony_ci duration_ms: * 2671cb0ef41Sopenharmony_ci type: 'suite' 2681cb0ef41Sopenharmony_ci ... 2691cb0ef41Sopenharmony_ci# Subtest: sync skip option 2701cb0ef41Sopenharmony_ciok 26 - sync skip option # SKIP 2711cb0ef41Sopenharmony_ci --- 2721cb0ef41Sopenharmony_ci duration_ms: * 2731cb0ef41Sopenharmony_ci ... 2741cb0ef41Sopenharmony_ci# Subtest: sync skip option with message 2751cb0ef41Sopenharmony_ciok 27 - sync skip option with message # SKIP this is skipped 2761cb0ef41Sopenharmony_ci --- 2771cb0ef41Sopenharmony_ci duration_ms: * 2781cb0ef41Sopenharmony_ci ... 2791cb0ef41Sopenharmony_ci# Subtest: sync skip option is false fail 2801cb0ef41Sopenharmony_cinot ok 28 - sync skip option is false fail 2811cb0ef41Sopenharmony_ci --- 2821cb0ef41Sopenharmony_ci duration_ms: * 2831cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 2841cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 2851cb0ef41Sopenharmony_ci error: 'this should be executed' 2861cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 2871cb0ef41Sopenharmony_ci stack: |- 2881cb0ef41Sopenharmony_ci * 2891cb0ef41Sopenharmony_ci * 2901cb0ef41Sopenharmony_ci * 2911cb0ef41Sopenharmony_ci * 2921cb0ef41Sopenharmony_ci * 2931cb0ef41Sopenharmony_ci * 2941cb0ef41Sopenharmony_ci * 2951cb0ef41Sopenharmony_ci ... 2961cb0ef41Sopenharmony_ci# Subtest: <anonymous> 2971cb0ef41Sopenharmony_ciok 29 - <anonymous> 2981cb0ef41Sopenharmony_ci --- 2991cb0ef41Sopenharmony_ci duration_ms: * 3001cb0ef41Sopenharmony_ci ... 3011cb0ef41Sopenharmony_ci# Subtest: functionOnly 3021cb0ef41Sopenharmony_ciok 30 - functionOnly 3031cb0ef41Sopenharmony_ci --- 3041cb0ef41Sopenharmony_ci duration_ms: * 3051cb0ef41Sopenharmony_ci ... 3061cb0ef41Sopenharmony_ci# Subtest: <anonymous> 3071cb0ef41Sopenharmony_ciok 31 - <anonymous> 3081cb0ef41Sopenharmony_ci --- 3091cb0ef41Sopenharmony_ci duration_ms: * 3101cb0ef41Sopenharmony_ci ... 3111cb0ef41Sopenharmony_ci# Subtest: test with only a name provided 3121cb0ef41Sopenharmony_ciok 32 - test with only a name provided 3131cb0ef41Sopenharmony_ci --- 3141cb0ef41Sopenharmony_ci duration_ms: * 3151cb0ef41Sopenharmony_ci ... 3161cb0ef41Sopenharmony_ci# Subtest: <anonymous> 3171cb0ef41Sopenharmony_ciok 33 - <anonymous> 3181cb0ef41Sopenharmony_ci --- 3191cb0ef41Sopenharmony_ci duration_ms: * 3201cb0ef41Sopenharmony_ci ... 3211cb0ef41Sopenharmony_ci# Subtest: <anonymous> 3221cb0ef41Sopenharmony_ciok 34 - <anonymous> # SKIP 3231cb0ef41Sopenharmony_ci --- 3241cb0ef41Sopenharmony_ci duration_ms: * 3251cb0ef41Sopenharmony_ci ... 3261cb0ef41Sopenharmony_ci# Subtest: test with a name and options provided 3271cb0ef41Sopenharmony_ciok 35 - test with a name and options provided # SKIP 3281cb0ef41Sopenharmony_ci --- 3291cb0ef41Sopenharmony_ci duration_ms: * 3301cb0ef41Sopenharmony_ci ... 3311cb0ef41Sopenharmony_ci# Subtest: functionAndOptions 3321cb0ef41Sopenharmony_ciok 36 - functionAndOptions # SKIP 3331cb0ef41Sopenharmony_ci --- 3341cb0ef41Sopenharmony_ci duration_ms: * 3351cb0ef41Sopenharmony_ci ... 3361cb0ef41Sopenharmony_ci# Subtest: callback pass 3371cb0ef41Sopenharmony_ciok 37 - callback pass 3381cb0ef41Sopenharmony_ci --- 3391cb0ef41Sopenharmony_ci duration_ms: * 3401cb0ef41Sopenharmony_ci ... 3411cb0ef41Sopenharmony_ci# Subtest: callback fail 3421cb0ef41Sopenharmony_cinot ok 38 - callback fail 3431cb0ef41Sopenharmony_ci --- 3441cb0ef41Sopenharmony_ci duration_ms: * 3451cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 3461cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 3471cb0ef41Sopenharmony_ci error: 'callback failure' 3481cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 3491cb0ef41Sopenharmony_ci stack: |- 3501cb0ef41Sopenharmony_ci * 3511cb0ef41Sopenharmony_ci * 3521cb0ef41Sopenharmony_ci ... 3531cb0ef41Sopenharmony_ci# Subtest: sync t is this in test 3541cb0ef41Sopenharmony_ciok 39 - sync t is this in test 3551cb0ef41Sopenharmony_ci --- 3561cb0ef41Sopenharmony_ci duration_ms: * 3571cb0ef41Sopenharmony_ci ... 3581cb0ef41Sopenharmony_ci# Subtest: async t is this in test 3591cb0ef41Sopenharmony_ciok 40 - async t is this in test 3601cb0ef41Sopenharmony_ci --- 3611cb0ef41Sopenharmony_ci duration_ms: * 3621cb0ef41Sopenharmony_ci ... 3631cb0ef41Sopenharmony_ci# Subtest: callback t is this in test 3641cb0ef41Sopenharmony_ciok 41 - callback t is this in test 3651cb0ef41Sopenharmony_ci --- 3661cb0ef41Sopenharmony_ci duration_ms: * 3671cb0ef41Sopenharmony_ci ... 3681cb0ef41Sopenharmony_ci# Subtest: callback also returns a Promise 3691cb0ef41Sopenharmony_cinot ok 42 - callback also returns a Promise 3701cb0ef41Sopenharmony_ci --- 3711cb0ef41Sopenharmony_ci duration_ms: * 3721cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 3731cb0ef41Sopenharmony_ci failureType: 'callbackAndPromisePresent' 3741cb0ef41Sopenharmony_ci error: 'passed a callback but also returned a Promise' 3751cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 3761cb0ef41Sopenharmony_ci ... 3771cb0ef41Sopenharmony_ci# Subtest: callback throw 3781cb0ef41Sopenharmony_cinot ok 43 - callback throw 3791cb0ef41Sopenharmony_ci --- 3801cb0ef41Sopenharmony_ci duration_ms: * 3811cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 3821cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 3831cb0ef41Sopenharmony_ci error: 'thrown from callback throw' 3841cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 3851cb0ef41Sopenharmony_ci stack: |- 3861cb0ef41Sopenharmony_ci * 3871cb0ef41Sopenharmony_ci * 3881cb0ef41Sopenharmony_ci * 3891cb0ef41Sopenharmony_ci * 3901cb0ef41Sopenharmony_ci * 3911cb0ef41Sopenharmony_ci * 3921cb0ef41Sopenharmony_ci * 3931cb0ef41Sopenharmony_ci ... 3941cb0ef41Sopenharmony_ci# Subtest: callback called twice 3951cb0ef41Sopenharmony_cinot ok 44 - callback called twice 3961cb0ef41Sopenharmony_ci --- 3971cb0ef41Sopenharmony_ci duration_ms: * 3981cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 3991cb0ef41Sopenharmony_ci failureType: 'multipleCallbackInvocations' 4001cb0ef41Sopenharmony_ci error: 'callback invoked multiple times' 4011cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4021cb0ef41Sopenharmony_ci stack: |- 4031cb0ef41Sopenharmony_ci * 4041cb0ef41Sopenharmony_ci * 4051cb0ef41Sopenharmony_ci ... 4061cb0ef41Sopenharmony_ci# Subtest: callback called twice in different ticks 4071cb0ef41Sopenharmony_ciok 45 - callback called twice in different ticks 4081cb0ef41Sopenharmony_ci --- 4091cb0ef41Sopenharmony_ci duration_ms: * 4101cb0ef41Sopenharmony_ci ... 4111cb0ef41Sopenharmony_ci# Subtest: callback called twice in future tick 4121cb0ef41Sopenharmony_cinot ok 46 - callback called twice in future tick 4131cb0ef41Sopenharmony_ci --- 4141cb0ef41Sopenharmony_ci duration_ms: * 4151cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 4161cb0ef41Sopenharmony_ci failureType: 'uncaughtException' 4171cb0ef41Sopenharmony_ci error: 'callback invoked multiple times' 4181cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4191cb0ef41Sopenharmony_ci stack: |- 4201cb0ef41Sopenharmony_ci * 4211cb0ef41Sopenharmony_ci ... 4221cb0ef41Sopenharmony_ci# Subtest: callback async throw 4231cb0ef41Sopenharmony_cinot ok 47 - callback async throw 4241cb0ef41Sopenharmony_ci --- 4251cb0ef41Sopenharmony_ci duration_ms: * 4261cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 4271cb0ef41Sopenharmony_ci failureType: 'uncaughtException' 4281cb0ef41Sopenharmony_ci error: 'thrown from callback async throw' 4291cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4301cb0ef41Sopenharmony_ci stack: |- 4311cb0ef41Sopenharmony_ci * 4321cb0ef41Sopenharmony_ci * 4331cb0ef41Sopenharmony_ci ... 4341cb0ef41Sopenharmony_ci# Subtest: callback async throw after done 4351cb0ef41Sopenharmony_ciok 48 - callback async throw after done 4361cb0ef41Sopenharmony_ci --- 4371cb0ef41Sopenharmony_ci duration_ms: * 4381cb0ef41Sopenharmony_ci ... 4391cb0ef41Sopenharmony_ci# Subtest: custom inspect symbol fail 4401cb0ef41Sopenharmony_cinot ok 49 - custom inspect symbol fail 4411cb0ef41Sopenharmony_ci --- 4421cb0ef41Sopenharmony_ci duration_ms: * 4431cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 4441cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 4451cb0ef41Sopenharmony_ci error: 'customized' 4461cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4471cb0ef41Sopenharmony_ci ... 4481cb0ef41Sopenharmony_ci# Subtest: custom inspect symbol that throws fail 4491cb0ef41Sopenharmony_cinot ok 50 - custom inspect symbol that throws fail 4501cb0ef41Sopenharmony_ci --- 4511cb0ef41Sopenharmony_ci duration_ms: * 4521cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 4531cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 4541cb0ef41Sopenharmony_ci error: |- 4551cb0ef41Sopenharmony_ci { 4561cb0ef41Sopenharmony_ci foo: 1, 4571cb0ef41Sopenharmony_ci [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]] 4581cb0ef41Sopenharmony_ci } 4591cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4601cb0ef41Sopenharmony_ci ... 4611cb0ef41Sopenharmony_ci# Subtest: subtest sync throw fails 4621cb0ef41Sopenharmony_ci # Subtest: sync throw fails at first 4631cb0ef41Sopenharmony_ci not ok 1 - sync throw fails at first 4641cb0ef41Sopenharmony_ci --- 4651cb0ef41Sopenharmony_ci duration_ms: * 4661cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 4671cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 4681cb0ef41Sopenharmony_ci error: 'thrown from subtest sync throw fails at first' 4691cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4701cb0ef41Sopenharmony_ci stack: |- 4711cb0ef41Sopenharmony_ci * 4721cb0ef41Sopenharmony_ci * 4731cb0ef41Sopenharmony_ci * 4741cb0ef41Sopenharmony_ci * 4751cb0ef41Sopenharmony_ci * 4761cb0ef41Sopenharmony_ci * 4771cb0ef41Sopenharmony_ci new Promise (<anonymous>) 4781cb0ef41Sopenharmony_ci * 4791cb0ef41Sopenharmony_ci * 4801cb0ef41Sopenharmony_ci Array.map (<anonymous>) 4811cb0ef41Sopenharmony_ci ... 4821cb0ef41Sopenharmony_ci # Subtest: sync throw fails at second 4831cb0ef41Sopenharmony_ci not ok 2 - sync throw fails at second 4841cb0ef41Sopenharmony_ci --- 4851cb0ef41Sopenharmony_ci duration_ms: * 4861cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 4871cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 4881cb0ef41Sopenharmony_ci error: 'thrown from subtest sync throw fails at second' 4891cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4901cb0ef41Sopenharmony_ci stack: |- 4911cb0ef41Sopenharmony_ci * 4921cb0ef41Sopenharmony_ci * 4931cb0ef41Sopenharmony_ci * 4941cb0ef41Sopenharmony_ci * 4951cb0ef41Sopenharmony_ci * 4961cb0ef41Sopenharmony_ci * 4971cb0ef41Sopenharmony_ci * 4981cb0ef41Sopenharmony_ci * 4991cb0ef41Sopenharmony_ci * 5001cb0ef41Sopenharmony_ci async Promise.all (index 0) 5011cb0ef41Sopenharmony_ci ... 5021cb0ef41Sopenharmony_ci 1..2 5031cb0ef41Sopenharmony_cinot ok 51 - subtest sync throw fails 5041cb0ef41Sopenharmony_ci --- 5051cb0ef41Sopenharmony_ci duration_ms: * 5061cb0ef41Sopenharmony_ci type: 'suite' 5071cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 5081cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 5091cb0ef41Sopenharmony_ci error: '2 subtests failed' 5101cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5111cb0ef41Sopenharmony_ci ... 5121cb0ef41Sopenharmony_ci# Subtest: describe sync throw fails 5131cb0ef41Sopenharmony_ci # Subtest: should not run 5141cb0ef41Sopenharmony_ci not ok 1 - should not run 5151cb0ef41Sopenharmony_ci --- 5161cb0ef41Sopenharmony_ci duration_ms: * 5171cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 5181cb0ef41Sopenharmony_ci failureType: 'cancelledByParent' 5191cb0ef41Sopenharmony_ci error: 'test did not finish before its parent and was cancelled' 5201cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5211cb0ef41Sopenharmony_ci ... 5221cb0ef41Sopenharmony_ci 1..1 5231cb0ef41Sopenharmony_cinot ok 52 - describe sync throw fails 5241cb0ef41Sopenharmony_ci --- 5251cb0ef41Sopenharmony_ci duration_ms: * 5261cb0ef41Sopenharmony_ci type: 'suite' 5271cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 5281cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 5291cb0ef41Sopenharmony_ci error: 'thrown from describe' 5301cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5311cb0ef41Sopenharmony_ci stack: |- 5321cb0ef41Sopenharmony_ci * 5331cb0ef41Sopenharmony_ci * 5341cb0ef41Sopenharmony_ci * 5351cb0ef41Sopenharmony_ci * 5361cb0ef41Sopenharmony_ci * 5371cb0ef41Sopenharmony_ci * 5381cb0ef41Sopenharmony_ci * 5391cb0ef41Sopenharmony_ci * 5401cb0ef41Sopenharmony_ci * 5411cb0ef41Sopenharmony_ci * 5421cb0ef41Sopenharmony_ci ... 5431cb0ef41Sopenharmony_ci# Subtest: describe async throw fails 5441cb0ef41Sopenharmony_ci # Subtest: should not run 5451cb0ef41Sopenharmony_ci not ok 1 - should not run 5461cb0ef41Sopenharmony_ci --- 5471cb0ef41Sopenharmony_ci duration_ms: * 5481cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 5491cb0ef41Sopenharmony_ci failureType: 'cancelledByParent' 5501cb0ef41Sopenharmony_ci error: 'test did not finish before its parent and was cancelled' 5511cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5521cb0ef41Sopenharmony_ci ... 5531cb0ef41Sopenharmony_ci 1..1 5541cb0ef41Sopenharmony_cinot ok 53 - describe async throw fails 5551cb0ef41Sopenharmony_ci --- 5561cb0ef41Sopenharmony_ci duration_ms: * 5571cb0ef41Sopenharmony_ci type: 'suite' 5581cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 5591cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 5601cb0ef41Sopenharmony_ci error: 'thrown from describe' 5611cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5621cb0ef41Sopenharmony_ci stack: |- 5631cb0ef41Sopenharmony_ci * 5641cb0ef41Sopenharmony_ci * 5651cb0ef41Sopenharmony_ci * 5661cb0ef41Sopenharmony_ci * 5671cb0ef41Sopenharmony_ci * 5681cb0ef41Sopenharmony_ci * 5691cb0ef41Sopenharmony_ci * 5701cb0ef41Sopenharmony_ci * 5711cb0ef41Sopenharmony_ci * 5721cb0ef41Sopenharmony_ci * 5731cb0ef41Sopenharmony_ci ... 5741cb0ef41Sopenharmony_ci# Subtest: timeouts 5751cb0ef41Sopenharmony_ci # Subtest: timed out async test 5761cb0ef41Sopenharmony_ci not ok 1 - timed out async test 5771cb0ef41Sopenharmony_ci --- 5781cb0ef41Sopenharmony_ci duration_ms: * 5791cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 5801cb0ef41Sopenharmony_ci failureType: 'testTimeoutFailure' 5811cb0ef41Sopenharmony_ci error: 'test timed out after 5ms' 5821cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5831cb0ef41Sopenharmony_ci stack: |- 5841cb0ef41Sopenharmony_ci async Promise.all (index 0) 5851cb0ef41Sopenharmony_ci ... 5861cb0ef41Sopenharmony_ci # Subtest: timed out callback test 5871cb0ef41Sopenharmony_ci not ok 2 - timed out callback test 5881cb0ef41Sopenharmony_ci --- 5891cb0ef41Sopenharmony_ci duration_ms: * 5901cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 5911cb0ef41Sopenharmony_ci failureType: 'testTimeoutFailure' 5921cb0ef41Sopenharmony_ci error: 'test timed out after 5ms' 5931cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 5941cb0ef41Sopenharmony_ci ... 5951cb0ef41Sopenharmony_ci # Subtest: large timeout async test is ok 5961cb0ef41Sopenharmony_ci ok 3 - large timeout async test is ok 5971cb0ef41Sopenharmony_ci --- 5981cb0ef41Sopenharmony_ci duration_ms: * 5991cb0ef41Sopenharmony_ci ... 6001cb0ef41Sopenharmony_ci # Subtest: large timeout callback test is ok 6011cb0ef41Sopenharmony_ci ok 4 - large timeout callback test is ok 6021cb0ef41Sopenharmony_ci --- 6031cb0ef41Sopenharmony_ci duration_ms: * 6041cb0ef41Sopenharmony_ci ... 6051cb0ef41Sopenharmony_ci 1..4 6061cb0ef41Sopenharmony_cinot ok 54 - timeouts 6071cb0ef41Sopenharmony_ci --- 6081cb0ef41Sopenharmony_ci duration_ms: * 6091cb0ef41Sopenharmony_ci type: 'suite' 6101cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 6111cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 6121cb0ef41Sopenharmony_ci error: '2 subtests failed' 6131cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 6141cb0ef41Sopenharmony_ci ... 6151cb0ef41Sopenharmony_ci# Subtest: successful thenable 6161cb0ef41Sopenharmony_ci # Subtest: successful thenable 6171cb0ef41Sopenharmony_ci ok 1 - successful thenable 6181cb0ef41Sopenharmony_ci --- 6191cb0ef41Sopenharmony_ci duration_ms: * 6201cb0ef41Sopenharmony_ci ... 6211cb0ef41Sopenharmony_ci # Subtest: rejected thenable 6221cb0ef41Sopenharmony_ci not ok 2 - rejected thenable 6231cb0ef41Sopenharmony_ci --- 6241cb0ef41Sopenharmony_ci duration_ms: * 6251cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):3' 6261cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 6271cb0ef41Sopenharmony_ci error: 'custom error' 6281cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 6291cb0ef41Sopenharmony_ci stack: |- 6301cb0ef41Sopenharmony_ci * 6311cb0ef41Sopenharmony_ci * 6321cb0ef41Sopenharmony_ci ... 6331cb0ef41Sopenharmony_ci 1..2 6341cb0ef41Sopenharmony_cinot ok 55 - successful thenable 6351cb0ef41Sopenharmony_ci --- 6361cb0ef41Sopenharmony_ci duration_ms: * 6371cb0ef41Sopenharmony_ci type: 'suite' 6381cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 6391cb0ef41Sopenharmony_ci failureType: 'subtestsFailed' 6401cb0ef41Sopenharmony_ci error: '1 subtest failed' 6411cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 6421cb0ef41Sopenharmony_ci ... 6431cb0ef41Sopenharmony_ci# Subtest: rejected thenable 6441cb0ef41Sopenharmony_cinot ok 56 - rejected thenable 6451cb0ef41Sopenharmony_ci --- 6461cb0ef41Sopenharmony_ci duration_ms: * 6471cb0ef41Sopenharmony_ci type: 'suite' 6481cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):1' 6491cb0ef41Sopenharmony_ci failureType: 'testCodeFailure' 6501cb0ef41Sopenharmony_ci error: 'custom error' 6511cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 6521cb0ef41Sopenharmony_ci stack: |- 6531cb0ef41Sopenharmony_ci * 6541cb0ef41Sopenharmony_ci ... 6551cb0ef41Sopenharmony_ci# Subtest: async describe function 6561cb0ef41Sopenharmony_ci # Subtest: it inside describe 1 6571cb0ef41Sopenharmony_ci ok 1 - it inside describe 1 6581cb0ef41Sopenharmony_ci --- 6591cb0ef41Sopenharmony_ci duration_ms: * 6601cb0ef41Sopenharmony_ci ... 6611cb0ef41Sopenharmony_ci # Subtest: it inside describe 2 6621cb0ef41Sopenharmony_ci ok 2 - it inside describe 2 6631cb0ef41Sopenharmony_ci --- 6641cb0ef41Sopenharmony_ci duration_ms: * 6651cb0ef41Sopenharmony_ci ... 6661cb0ef41Sopenharmony_ci # Subtest: inner describe 6671cb0ef41Sopenharmony_ci # Subtest: it inside inner describe 6681cb0ef41Sopenharmony_ci ok 1 - it inside inner describe 6691cb0ef41Sopenharmony_ci --- 6701cb0ef41Sopenharmony_ci duration_ms: * 6711cb0ef41Sopenharmony_ci ... 6721cb0ef41Sopenharmony_ci 1..1 6731cb0ef41Sopenharmony_ci ok 3 - inner describe 6741cb0ef41Sopenharmony_ci --- 6751cb0ef41Sopenharmony_ci duration_ms: * 6761cb0ef41Sopenharmony_ci type: 'suite' 6771cb0ef41Sopenharmony_ci ... 6781cb0ef41Sopenharmony_ci 1..3 6791cb0ef41Sopenharmony_ciok 57 - async describe function 6801cb0ef41Sopenharmony_ci --- 6811cb0ef41Sopenharmony_ci duration_ms: * 6821cb0ef41Sopenharmony_ci type: 'suite' 6831cb0ef41Sopenharmony_ci ... 6841cb0ef41Sopenharmony_ci# Subtest: invalid subtest fail 6851cb0ef41Sopenharmony_cinot ok 58 - invalid subtest fail 6861cb0ef41Sopenharmony_ci --- 6871cb0ef41Sopenharmony_ci duration_ms: * 6881cb0ef41Sopenharmony_ci location: '/test/fixtures/test-runner/output/describe_it.js:(LINE):5' 6891cb0ef41Sopenharmony_ci failureType: 'parentAlreadyFinished' 6901cb0ef41Sopenharmony_ci error: 'test could not be started because its parent finished' 6911cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 6921cb0ef41Sopenharmony_ci stack: |- 6931cb0ef41Sopenharmony_ci * 6941cb0ef41Sopenharmony_ci ... 6951cb0ef41Sopenharmony_ci1..58 6961cb0ef41Sopenharmony_ci# Warning: Test "unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event. 6971cb0ef41Sopenharmony_ci# Warning: Test "async unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from async unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event. 6981cb0ef41Sopenharmony_ci# Warning: Test "immediate throw - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from immediate throw fail" and would have caused the test to fail, but instead triggered an uncaughtException event. 6991cb0ef41Sopenharmony_ci# Warning: Test "immediate reject - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from immediate reject fail" and would have caused the test to fail, but instead triggered an unhandledRejection event. 7001cb0ef41Sopenharmony_ci# Warning: Test "callback called twice in different ticks" generated asynchronous activity after the test ended. This activity created the error "Error [ERR_TEST_FAILURE]: callback invoked multiple times" and would have caused the test to fail, but instead triggered an uncaughtException event. 7011cb0ef41Sopenharmony_ci# Warning: Test "callback async throw after done" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from callback async throw after done" and would have caused the test to fail, but instead triggered an uncaughtException event. 7021cb0ef41Sopenharmony_ci# tests 67 7031cb0ef41Sopenharmony_ci# suites 11 7041cb0ef41Sopenharmony_ci# pass 31 7051cb0ef41Sopenharmony_ci# fail 19 7061cb0ef41Sopenharmony_ci# cancelled 4 7071cb0ef41Sopenharmony_ci# skipped 9 7081cb0ef41Sopenharmony_ci# todo 4 7091cb0ef41Sopenharmony_ci# duration_ms * 710