11cb0ef41Sopenharmony_ci sync pass todo (*ms) # TODO 21cb0ef41Sopenharmony_ci sync pass todo with message (*ms) # this is a passing todo 31cb0ef41Sopenharmony_ci sync fail todo (*ms) # TODO 41cb0ef41Sopenharmony_ci Error: thrown from sync fail todo 51cb0ef41Sopenharmony_ci * 61cb0ef41Sopenharmony_ci * 71cb0ef41Sopenharmony_ci * 81cb0ef41Sopenharmony_ci * 91cb0ef41Sopenharmony_ci * 101cb0ef41Sopenharmony_ci * 111cb0ef41Sopenharmony_ci * 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ci sync fail todo with message (*ms) # this is a failing todo 141cb0ef41Sopenharmony_ci Error: thrown from sync fail todo with message 151cb0ef41Sopenharmony_ci * 161cb0ef41Sopenharmony_ci * 171cb0ef41Sopenharmony_ci * 181cb0ef41Sopenharmony_ci * 191cb0ef41Sopenharmony_ci * 201cb0ef41Sopenharmony_ci * 211cb0ef41Sopenharmony_ci * 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_ci sync skip pass (*ms) # SKIP 241cb0ef41Sopenharmony_ci sync skip pass with message (*ms) # this is skipped 251cb0ef41Sopenharmony_ci sync pass (*ms) 261cb0ef41Sopenharmony_ci this test should pass 271cb0ef41Sopenharmony_ci sync throw fail (*ms) 281cb0ef41Sopenharmony_ci Error: thrown from sync throw fail 291cb0ef41Sopenharmony_ci * 301cb0ef41Sopenharmony_ci * 311cb0ef41Sopenharmony_ci * 321cb0ef41Sopenharmony_ci * 331cb0ef41Sopenharmony_ci * 341cb0ef41Sopenharmony_ci * 351cb0ef41Sopenharmony_ci * 361cb0ef41Sopenharmony_ci 371cb0ef41Sopenharmony_ci async skip pass (*ms) # SKIP 381cb0ef41Sopenharmony_ci async pass (*ms) 391cb0ef41Sopenharmony_ci async throw fail (*ms) 401cb0ef41Sopenharmony_ci Error: thrown from async throw fail 411cb0ef41Sopenharmony_ci * 421cb0ef41Sopenharmony_ci * 431cb0ef41Sopenharmony_ci * 441cb0ef41Sopenharmony_ci * 451cb0ef41Sopenharmony_ci * 461cb0ef41Sopenharmony_ci * 471cb0ef41Sopenharmony_ci * 481cb0ef41Sopenharmony_ci 491cb0ef41Sopenharmony_ci async skip fail (*ms) # SKIP 501cb0ef41Sopenharmony_ci Error: thrown from async throw fail 511cb0ef41Sopenharmony_ci * 521cb0ef41Sopenharmony_ci * 531cb0ef41Sopenharmony_ci * 541cb0ef41Sopenharmony_ci * 551cb0ef41Sopenharmony_ci * 561cb0ef41Sopenharmony_ci * 571cb0ef41Sopenharmony_ci * 581cb0ef41Sopenharmony_ci 591cb0ef41Sopenharmony_ci async assertion fail (*ms) 601cb0ef41Sopenharmony_ci AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 611cb0ef41Sopenharmony_ci 621cb0ef41Sopenharmony_ci true !== false 631cb0ef41Sopenharmony_ci 641cb0ef41Sopenharmony_ci * 651cb0ef41Sopenharmony_ci * 661cb0ef41Sopenharmony_ci * 671cb0ef41Sopenharmony_ci * 681cb0ef41Sopenharmony_ci * 691cb0ef41Sopenharmony_ci * 701cb0ef41Sopenharmony_ci * { 711cb0ef41Sopenharmony_ci generatedMessage: true, 721cb0ef41Sopenharmony_ci code: 'ERR_ASSERTION', 731cb0ef41Sopenharmony_ci actual: true, 741cb0ef41Sopenharmony_ci expected: false, 751cb0ef41Sopenharmony_ci operator: 'strictEqual' 761cb0ef41Sopenharmony_ci } 771cb0ef41Sopenharmony_ci 781cb0ef41Sopenharmony_ci resolve pass (*ms) 791cb0ef41Sopenharmony_ci reject fail (*ms) 801cb0ef41Sopenharmony_ci Error: rejected from reject fail 811cb0ef41Sopenharmony_ci * 821cb0ef41Sopenharmony_ci * 831cb0ef41Sopenharmony_ci * 841cb0ef41Sopenharmony_ci * 851cb0ef41Sopenharmony_ci * 861cb0ef41Sopenharmony_ci * 871cb0ef41Sopenharmony_ci * 881cb0ef41Sopenharmony_ci 891cb0ef41Sopenharmony_ci unhandled rejection - passes but warns (*ms) 901cb0ef41Sopenharmony_ci async unhandled rejection - passes but warns (*ms) 911cb0ef41Sopenharmony_ci immediate throw - passes but warns (*ms) 921cb0ef41Sopenharmony_ci immediate reject - passes but warns (*ms) 931cb0ef41Sopenharmony_ci immediate resolve pass (*ms) 941cb0ef41Sopenharmony_ci subtest sync throw fail 951cb0ef41Sopenharmony_ci +sync throw fail (*ms) 961cb0ef41Sopenharmony_ci Error: thrown from subtest sync throw fail 971cb0ef41Sopenharmony_ci * 981cb0ef41Sopenharmony_ci * 991cb0ef41Sopenharmony_ci * 1001cb0ef41Sopenharmony_ci * 1011cb0ef41Sopenharmony_ci * 1021cb0ef41Sopenharmony_ci * 1031cb0ef41Sopenharmony_ci * 1041cb0ef41Sopenharmony_ci * 1051cb0ef41Sopenharmony_ci * 1061cb0ef41Sopenharmony_ci * 1071cb0ef41Sopenharmony_ci 1081cb0ef41Sopenharmony_ci this subtest should make its parent test fail 1091cb0ef41Sopenharmony_ci subtest sync throw fail (*ms) 1101cb0ef41Sopenharmony_ci 1111cb0ef41Sopenharmony_ci sync throw non-error fail (*ms) 1121cb0ef41Sopenharmony_ci Symbol(thrown symbol from sync throw non-error fail) 1131cb0ef41Sopenharmony_ci 1141cb0ef41Sopenharmony_ci level 0a 1151cb0ef41Sopenharmony_ci level 1a (*ms) 1161cb0ef41Sopenharmony_ci level 1b (*ms) 1171cb0ef41Sopenharmony_ci level 1c (*ms) 1181cb0ef41Sopenharmony_ci level 1d (*ms) 1191cb0ef41Sopenharmony_ci level 0a (*ms) 1201cb0ef41Sopenharmony_ci 1211cb0ef41Sopenharmony_ci top level 1221cb0ef41Sopenharmony_ci +long running (*ms) 1231cb0ef41Sopenharmony_ci 'test did not finish before its parent and was cancelled' 1241cb0ef41Sopenharmony_ci 1251cb0ef41Sopenharmony_ci +short running 1261cb0ef41Sopenharmony_ci ++short running (*ms) 1271cb0ef41Sopenharmony_ci +short running (*ms) 1281cb0ef41Sopenharmony_ci 1291cb0ef41Sopenharmony_ci top level (*ms) 1301cb0ef41Sopenharmony_ci 1311cb0ef41Sopenharmony_ci invalid subtest - pass but subtest fails (*ms) 1321cb0ef41Sopenharmony_ci sync skip option (*ms) # SKIP 1331cb0ef41Sopenharmony_ci sync skip option with message (*ms) # this is skipped 1341cb0ef41Sopenharmony_ci sync skip option is false fail (*ms) 1351cb0ef41Sopenharmony_ci Error: this should be executed 1361cb0ef41Sopenharmony_ci * 1371cb0ef41Sopenharmony_ci * 1381cb0ef41Sopenharmony_ci * 1391cb0ef41Sopenharmony_ci * 1401cb0ef41Sopenharmony_ci * 1411cb0ef41Sopenharmony_ci * 1421cb0ef41Sopenharmony_ci * 1431cb0ef41Sopenharmony_ci 1441cb0ef41Sopenharmony_ci <anonymous> (*ms) 1451cb0ef41Sopenharmony_ci functionOnly (*ms) 1461cb0ef41Sopenharmony_ci <anonymous> (*ms) 1471cb0ef41Sopenharmony_ci test with only a name provided (*ms) 1481cb0ef41Sopenharmony_ci <anonymous> (*ms) 1491cb0ef41Sopenharmony_ci <anonymous> (*ms) # SKIP 1501cb0ef41Sopenharmony_ci test with a name and options provided (*ms) # SKIP 1511cb0ef41Sopenharmony_ci functionAndOptions (*ms) # SKIP 1521cb0ef41Sopenharmony_ci callback pass (*ms) 1531cb0ef41Sopenharmony_ci callback fail (*ms) 1541cb0ef41Sopenharmony_ci Error: callback failure 1551cb0ef41Sopenharmony_ci * 1561cb0ef41Sopenharmony_ci * 1571cb0ef41Sopenharmony_ci 1581cb0ef41Sopenharmony_ci sync t is this in test (*ms) 1591cb0ef41Sopenharmony_ci async t is this in test (*ms) 1601cb0ef41Sopenharmony_ci callback t is this in test (*ms) 1611cb0ef41Sopenharmony_ci callback also returns a Promise (*ms) 1621cb0ef41Sopenharmony_ci 'passed a callback but also returned a Promise' 1631cb0ef41Sopenharmony_ci 1641cb0ef41Sopenharmony_ci callback throw (*ms) 1651cb0ef41Sopenharmony_ci Error: thrown from callback throw 1661cb0ef41Sopenharmony_ci * 1671cb0ef41Sopenharmony_ci * 1681cb0ef41Sopenharmony_ci * 1691cb0ef41Sopenharmony_ci * 1701cb0ef41Sopenharmony_ci * 1711cb0ef41Sopenharmony_ci * 1721cb0ef41Sopenharmony_ci * 1731cb0ef41Sopenharmony_ci 1741cb0ef41Sopenharmony_ci callback called twice (*ms) 1751cb0ef41Sopenharmony_ci 'callback invoked multiple times' 1761cb0ef41Sopenharmony_ci 1771cb0ef41Sopenharmony_ci callback called twice in different ticks (*ms) 1781cb0ef41Sopenharmony_ci callback called twice in future tick (*ms) 1791cb0ef41Sopenharmony_ci Error [ERR_TEST_FAILURE]: callback invoked multiple times 1801cb0ef41Sopenharmony_ci * { 1811cb0ef41Sopenharmony_ci failureType: 'multipleCallbackInvocations', 1821cb0ef41Sopenharmony_ci cause: 'callback invoked multiple times', 1831cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 1841cb0ef41Sopenharmony_ci } 1851cb0ef41Sopenharmony_ci 1861cb0ef41Sopenharmony_ci callback async throw (*ms) 1871cb0ef41Sopenharmony_ci Error: thrown from callback async throw 1881cb0ef41Sopenharmony_ci * 1891cb0ef41Sopenharmony_ci * 1901cb0ef41Sopenharmony_ci 1911cb0ef41Sopenharmony_ci callback async throw after done (*ms) 1921cb0ef41Sopenharmony_ci only is set but not in only mode 1931cb0ef41Sopenharmony_ci running subtest 1 (*ms) 1941cb0ef41Sopenharmony_ci running subtest 2 (*ms) 1951cb0ef41Sopenharmony_ci 'only' and 'runOnly' require the --test-only command-line option. 1961cb0ef41Sopenharmony_ci running subtest 3 (*ms) 1971cb0ef41Sopenharmony_ci 'only' and 'runOnly' require the --test-only command-line option. 1981cb0ef41Sopenharmony_ci running subtest 4 (*ms) 1991cb0ef41Sopenharmony_ci only is set but not in only mode (*ms) 2001cb0ef41Sopenharmony_ci 2011cb0ef41Sopenharmony_ci 'only' and 'runOnly' require the --test-only command-line option. 2021cb0ef41Sopenharmony_ci custom inspect symbol fail (*ms) 2031cb0ef41Sopenharmony_ci customized 2041cb0ef41Sopenharmony_ci 2051cb0ef41Sopenharmony_ci custom inspect symbol that throws fail (*ms) 2061cb0ef41Sopenharmony_ci { foo: 1, [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]] } 2071cb0ef41Sopenharmony_ci 2081cb0ef41Sopenharmony_ci subtest sync throw fails 2091cb0ef41Sopenharmony_ci sync throw fails at first (*ms) 2101cb0ef41Sopenharmony_ci Error: thrown from subtest sync throw fails at first 2111cb0ef41Sopenharmony_ci * 2121cb0ef41Sopenharmony_ci * 2131cb0ef41Sopenharmony_ci * 2141cb0ef41Sopenharmony_ci * 2151cb0ef41Sopenharmony_ci * 2161cb0ef41Sopenharmony_ci * 2171cb0ef41Sopenharmony_ci * 2181cb0ef41Sopenharmony_ci * 2191cb0ef41Sopenharmony_ci * 2201cb0ef41Sopenharmony_ci * 2211cb0ef41Sopenharmony_ci 2221cb0ef41Sopenharmony_ci sync throw fails at second (*ms) 2231cb0ef41Sopenharmony_ci Error: thrown from subtest sync throw fails at second 2241cb0ef41Sopenharmony_ci * 2251cb0ef41Sopenharmony_ci * 2261cb0ef41Sopenharmony_ci * 2271cb0ef41Sopenharmony_ci * 2281cb0ef41Sopenharmony_ci * 2291cb0ef41Sopenharmony_ci * 2301cb0ef41Sopenharmony_ci * 2311cb0ef41Sopenharmony_ci * 2321cb0ef41Sopenharmony_ci * 2331cb0ef41Sopenharmony_ci * 2341cb0ef41Sopenharmony_ci 2351cb0ef41Sopenharmony_ci subtest sync throw fails (*ms) 2361cb0ef41Sopenharmony_ci 2371cb0ef41Sopenharmony_ci timed out async test (*ms) 2381cb0ef41Sopenharmony_ci 'test timed out after *ms' 2391cb0ef41Sopenharmony_ci 2401cb0ef41Sopenharmony_ci timed out callback test (*ms) 2411cb0ef41Sopenharmony_ci 'test timed out after *ms' 2421cb0ef41Sopenharmony_ci 2431cb0ef41Sopenharmony_ci large timeout async test is ok (*ms) 2441cb0ef41Sopenharmony_ci large timeout callback test is ok (*ms) 2451cb0ef41Sopenharmony_ci successful thenable (*ms) 2461cb0ef41Sopenharmony_ci rejected thenable (*ms) 2471cb0ef41Sopenharmony_ci 'custom error' 2481cb0ef41Sopenharmony_ci 2491cb0ef41Sopenharmony_ci unfinished test with uncaughtException (*ms) 2501cb0ef41Sopenharmony_ci Error: foo 2511cb0ef41Sopenharmony_ci * 2521cb0ef41Sopenharmony_ci * 2531cb0ef41Sopenharmony_ci * 2541cb0ef41Sopenharmony_ci 2551cb0ef41Sopenharmony_ci unfinished test with unhandledRejection (*ms) 2561cb0ef41Sopenharmony_ci Error: bar 2571cb0ef41Sopenharmony_ci * 2581cb0ef41Sopenharmony_ci * 2591cb0ef41Sopenharmony_ci * 2601cb0ef41Sopenharmony_ci 2611cb0ef41Sopenharmony_ci assertion errors display actual and expected properly (*ms) 2621cb0ef41Sopenharmony_ci AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: 2631cb0ef41Sopenharmony_ci 2641cb0ef41Sopenharmony_ci { 2651cb0ef41Sopenharmony_ci bar: 1, 2661cb0ef41Sopenharmony_ci foo: 1 2671cb0ef41Sopenharmony_ci } 2681cb0ef41Sopenharmony_ci 2691cb0ef41Sopenharmony_ci should loosely deep-equal 2701cb0ef41Sopenharmony_ci 2711cb0ef41Sopenharmony_ci <ref *1> { 2721cb0ef41Sopenharmony_ci bar: 2, 2731cb0ef41Sopenharmony_ci c: [Circular *1] 2741cb0ef41Sopenharmony_ci } 2751cb0ef41Sopenharmony_ci * { 2761cb0ef41Sopenharmony_ci generatedMessage: true, 2771cb0ef41Sopenharmony_ci code: 'ERR_ASSERTION', 2781cb0ef41Sopenharmony_ci actual: [Object], 2791cb0ef41Sopenharmony_ci expected: [Object], 2801cb0ef41Sopenharmony_ci operator: 'deepEqual' 2811cb0ef41Sopenharmony_ci } 2821cb0ef41Sopenharmony_ci 2831cb0ef41Sopenharmony_ci invalid subtest fail (*ms) 2841cb0ef41Sopenharmony_ci 'test could not be started because its parent finished' 2851cb0ef41Sopenharmony_ci 2861cb0ef41Sopenharmony_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. 2871cb0ef41Sopenharmony_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. 2881cb0ef41Sopenharmony_ci Warning: A resource generated asynchronous activity after the test ended. This activity created the error "Error: uncaught from outside of a test" which triggered an uncaughtException event, caught by the test runner. 2891cb0ef41Sopenharmony_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. 2901cb0ef41Sopenharmony_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. 2911cb0ef41Sopenharmony_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. 2921cb0ef41Sopenharmony_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. 2931cb0ef41Sopenharmony_ci tests 76 2941cb0ef41Sopenharmony_ci suites 0 2951cb0ef41Sopenharmony_ci pass 35 2961cb0ef41Sopenharmony_ci fail 25 2971cb0ef41Sopenharmony_ci cancelled 3 2981cb0ef41Sopenharmony_ci skipped 9 2991cb0ef41Sopenharmony_ci todo 4 3001cb0ef41Sopenharmony_ci duration_ms * 3011cb0ef41Sopenharmony_ci 3021cb0ef41Sopenharmony_ci failing tests: 3031cb0ef41Sopenharmony_ci 3041cb0ef41Sopenharmony_ci* 3051cb0ef41Sopenharmony_ci sync fail todo (*ms) # TODO 3061cb0ef41Sopenharmony_ci Error: thrown from sync fail todo 3071cb0ef41Sopenharmony_ci * 3081cb0ef41Sopenharmony_ci * 3091cb0ef41Sopenharmony_ci * 3101cb0ef41Sopenharmony_ci * 3111cb0ef41Sopenharmony_ci * 3121cb0ef41Sopenharmony_ci * 3131cb0ef41Sopenharmony_ci * 3141cb0ef41Sopenharmony_ci 3151cb0ef41Sopenharmony_ci* 3161cb0ef41Sopenharmony_ci sync fail todo with message (*ms) # this is a failing todo 3171cb0ef41Sopenharmony_ci Error: thrown from sync fail todo with message 3181cb0ef41Sopenharmony_ci * 3191cb0ef41Sopenharmony_ci * 3201cb0ef41Sopenharmony_ci * 3211cb0ef41Sopenharmony_ci * 3221cb0ef41Sopenharmony_ci * 3231cb0ef41Sopenharmony_ci * 3241cb0ef41Sopenharmony_ci * 3251cb0ef41Sopenharmony_ci 3261cb0ef41Sopenharmony_ci* 3271cb0ef41Sopenharmony_ci sync throw fail (*ms) 3281cb0ef41Sopenharmony_ci Error: thrown from sync throw fail 3291cb0ef41Sopenharmony_ci * 3301cb0ef41Sopenharmony_ci * 3311cb0ef41Sopenharmony_ci * 3321cb0ef41Sopenharmony_ci * 3331cb0ef41Sopenharmony_ci * 3341cb0ef41Sopenharmony_ci * 3351cb0ef41Sopenharmony_ci * 3361cb0ef41Sopenharmony_ci 3371cb0ef41Sopenharmony_ci* 3381cb0ef41Sopenharmony_ci async throw fail (*ms) 3391cb0ef41Sopenharmony_ci Error: thrown from async throw fail 3401cb0ef41Sopenharmony_ci * 3411cb0ef41Sopenharmony_ci * 3421cb0ef41Sopenharmony_ci * 3431cb0ef41Sopenharmony_ci * 3441cb0ef41Sopenharmony_ci * 3451cb0ef41Sopenharmony_ci * 3461cb0ef41Sopenharmony_ci * 3471cb0ef41Sopenharmony_ci 3481cb0ef41Sopenharmony_ci* 3491cb0ef41Sopenharmony_ci async skip fail (*ms) # SKIP 3501cb0ef41Sopenharmony_ci Error: thrown from async throw fail 3511cb0ef41Sopenharmony_ci * 3521cb0ef41Sopenharmony_ci * 3531cb0ef41Sopenharmony_ci * 3541cb0ef41Sopenharmony_ci * 3551cb0ef41Sopenharmony_ci * 3561cb0ef41Sopenharmony_ci * 3571cb0ef41Sopenharmony_ci * 3581cb0ef41Sopenharmony_ci 3591cb0ef41Sopenharmony_ci* 3601cb0ef41Sopenharmony_ci async assertion fail (*ms) 3611cb0ef41Sopenharmony_ci AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 3621cb0ef41Sopenharmony_ci 3631cb0ef41Sopenharmony_ci true !== false 3641cb0ef41Sopenharmony_ci 3651cb0ef41Sopenharmony_ci * 3661cb0ef41Sopenharmony_ci * 3671cb0ef41Sopenharmony_ci * 3681cb0ef41Sopenharmony_ci * 3691cb0ef41Sopenharmony_ci * 3701cb0ef41Sopenharmony_ci * 3711cb0ef41Sopenharmony_ci * { 3721cb0ef41Sopenharmony_ci generatedMessage: true, 3731cb0ef41Sopenharmony_ci code: 'ERR_ASSERTION', 3741cb0ef41Sopenharmony_ci actual: true, 3751cb0ef41Sopenharmony_ci expected: false, 3761cb0ef41Sopenharmony_ci operator: 'strictEqual' 3771cb0ef41Sopenharmony_ci } 3781cb0ef41Sopenharmony_ci 3791cb0ef41Sopenharmony_ci* 3801cb0ef41Sopenharmony_ci reject fail (*ms) 3811cb0ef41Sopenharmony_ci Error: rejected from reject fail 3821cb0ef41Sopenharmony_ci * 3831cb0ef41Sopenharmony_ci * 3841cb0ef41Sopenharmony_ci * 3851cb0ef41Sopenharmony_ci * 3861cb0ef41Sopenharmony_ci * 3871cb0ef41Sopenharmony_ci * 3881cb0ef41Sopenharmony_ci * 3891cb0ef41Sopenharmony_ci 3901cb0ef41Sopenharmony_ci* 3911cb0ef41Sopenharmony_ci +sync throw fail (*ms) 3921cb0ef41Sopenharmony_ci Error: thrown from subtest sync throw fail 3931cb0ef41Sopenharmony_ci * 3941cb0ef41Sopenharmony_ci * 3951cb0ef41Sopenharmony_ci * 3961cb0ef41Sopenharmony_ci * 3971cb0ef41Sopenharmony_ci * 3981cb0ef41Sopenharmony_ci * 3991cb0ef41Sopenharmony_ci * 4001cb0ef41Sopenharmony_ci * 4011cb0ef41Sopenharmony_ci * 4021cb0ef41Sopenharmony_ci * 4031cb0ef41Sopenharmony_ci 4041cb0ef41Sopenharmony_ci* 4051cb0ef41Sopenharmony_ci sync throw non-error fail (*ms) 4061cb0ef41Sopenharmony_ci Symbol(thrown symbol from sync throw non-error fail) 4071cb0ef41Sopenharmony_ci 4081cb0ef41Sopenharmony_ci* 4091cb0ef41Sopenharmony_ci +long running (*ms) 4101cb0ef41Sopenharmony_ci 'test did not finish before its parent and was cancelled' 4111cb0ef41Sopenharmony_ci 4121cb0ef41Sopenharmony_ci* 4131cb0ef41Sopenharmony_ci sync skip option is false fail (*ms) 4141cb0ef41Sopenharmony_ci Error: this should be executed 4151cb0ef41Sopenharmony_ci * 4161cb0ef41Sopenharmony_ci * 4171cb0ef41Sopenharmony_ci * 4181cb0ef41Sopenharmony_ci * 4191cb0ef41Sopenharmony_ci * 4201cb0ef41Sopenharmony_ci * 4211cb0ef41Sopenharmony_ci * 4221cb0ef41Sopenharmony_ci 4231cb0ef41Sopenharmony_ci* 4241cb0ef41Sopenharmony_ci callback fail (*ms) 4251cb0ef41Sopenharmony_ci Error: callback failure 4261cb0ef41Sopenharmony_ci * 4271cb0ef41Sopenharmony_ci * 4281cb0ef41Sopenharmony_ci 4291cb0ef41Sopenharmony_ci* 4301cb0ef41Sopenharmony_ci callback also returns a Promise (*ms) 4311cb0ef41Sopenharmony_ci 'passed a callback but also returned a Promise' 4321cb0ef41Sopenharmony_ci 4331cb0ef41Sopenharmony_ci* 4341cb0ef41Sopenharmony_ci callback throw (*ms) 4351cb0ef41Sopenharmony_ci Error: thrown from callback throw 4361cb0ef41Sopenharmony_ci * 4371cb0ef41Sopenharmony_ci * 4381cb0ef41Sopenharmony_ci * 4391cb0ef41Sopenharmony_ci * 4401cb0ef41Sopenharmony_ci * 4411cb0ef41Sopenharmony_ci * 4421cb0ef41Sopenharmony_ci * 4431cb0ef41Sopenharmony_ci 4441cb0ef41Sopenharmony_ci* 4451cb0ef41Sopenharmony_ci callback called twice (*ms) 4461cb0ef41Sopenharmony_ci 'callback invoked multiple times' 4471cb0ef41Sopenharmony_ci 4481cb0ef41Sopenharmony_ci* 4491cb0ef41Sopenharmony_ci callback called twice in future tick (*ms) 4501cb0ef41Sopenharmony_ci Error [ERR_TEST_FAILURE]: callback invoked multiple times 4511cb0ef41Sopenharmony_ci * { 4521cb0ef41Sopenharmony_ci failureType: 'multipleCallbackInvocations', 4531cb0ef41Sopenharmony_ci cause: 'callback invoked multiple times', 4541cb0ef41Sopenharmony_ci code: 'ERR_TEST_FAILURE' 4551cb0ef41Sopenharmony_ci } 4561cb0ef41Sopenharmony_ci 4571cb0ef41Sopenharmony_ci* 4581cb0ef41Sopenharmony_ci callback async throw (*ms) 4591cb0ef41Sopenharmony_ci Error: thrown from callback async throw 4601cb0ef41Sopenharmony_ci * 4611cb0ef41Sopenharmony_ci * 4621cb0ef41Sopenharmony_ci 4631cb0ef41Sopenharmony_ci* 4641cb0ef41Sopenharmony_ci custom inspect symbol fail (*ms) 4651cb0ef41Sopenharmony_ci customized 4661cb0ef41Sopenharmony_ci 4671cb0ef41Sopenharmony_ci* 4681cb0ef41Sopenharmony_ci custom inspect symbol that throws fail (*ms) 4691cb0ef41Sopenharmony_ci { foo: 1, [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]] } 4701cb0ef41Sopenharmony_ci 4711cb0ef41Sopenharmony_ci* 4721cb0ef41Sopenharmony_ci sync throw fails at first (*ms) 4731cb0ef41Sopenharmony_ci Error: thrown from subtest sync throw fails at first 4741cb0ef41Sopenharmony_ci * 4751cb0ef41Sopenharmony_ci * 4761cb0ef41Sopenharmony_ci * 4771cb0ef41Sopenharmony_ci * 4781cb0ef41Sopenharmony_ci * 4791cb0ef41Sopenharmony_ci * 4801cb0ef41Sopenharmony_ci * 4811cb0ef41Sopenharmony_ci * 4821cb0ef41Sopenharmony_ci * 4831cb0ef41Sopenharmony_ci * 4841cb0ef41Sopenharmony_ci 4851cb0ef41Sopenharmony_ci* 4861cb0ef41Sopenharmony_ci sync throw fails at second (*ms) 4871cb0ef41Sopenharmony_ci Error: thrown from subtest sync throw fails at second 4881cb0ef41Sopenharmony_ci * 4891cb0ef41Sopenharmony_ci * 4901cb0ef41Sopenharmony_ci * 4911cb0ef41Sopenharmony_ci * 4921cb0ef41Sopenharmony_ci * 4931cb0ef41Sopenharmony_ci * 4941cb0ef41Sopenharmony_ci * 4951cb0ef41Sopenharmony_ci * 4961cb0ef41Sopenharmony_ci * 4971cb0ef41Sopenharmony_ci * 4981cb0ef41Sopenharmony_ci 4991cb0ef41Sopenharmony_ci* 5001cb0ef41Sopenharmony_ci timed out async test (*ms) 5011cb0ef41Sopenharmony_ci 'test timed out after *ms' 5021cb0ef41Sopenharmony_ci 5031cb0ef41Sopenharmony_ci* 5041cb0ef41Sopenharmony_ci timed out callback test (*ms) 5051cb0ef41Sopenharmony_ci 'test timed out after *ms' 5061cb0ef41Sopenharmony_ci 5071cb0ef41Sopenharmony_ci* 5081cb0ef41Sopenharmony_ci rejected thenable (*ms) 5091cb0ef41Sopenharmony_ci 'custom error' 5101cb0ef41Sopenharmony_ci 5111cb0ef41Sopenharmony_ci* 5121cb0ef41Sopenharmony_ci unfinished test with uncaughtException (*ms) 5131cb0ef41Sopenharmony_ci Error: foo 5141cb0ef41Sopenharmony_ci * 5151cb0ef41Sopenharmony_ci * 5161cb0ef41Sopenharmony_ci * 5171cb0ef41Sopenharmony_ci 5181cb0ef41Sopenharmony_ci* 5191cb0ef41Sopenharmony_ci unfinished test with unhandledRejection (*ms) 5201cb0ef41Sopenharmony_ci Error: bar 5211cb0ef41Sopenharmony_ci * 5221cb0ef41Sopenharmony_ci * 5231cb0ef41Sopenharmony_ci * 5241cb0ef41Sopenharmony_ci 5251cb0ef41Sopenharmony_ci* 5261cb0ef41Sopenharmony_ci assertion errors display actual and expected properly (*ms) 5271cb0ef41Sopenharmony_ci AssertionError [ERR_ASSERTION]: Expected values to be loosely deep-equal: 5281cb0ef41Sopenharmony_ci 5291cb0ef41Sopenharmony_ci { 5301cb0ef41Sopenharmony_ci bar: 1, 5311cb0ef41Sopenharmony_ci foo: 1 5321cb0ef41Sopenharmony_ci } 5331cb0ef41Sopenharmony_ci 5341cb0ef41Sopenharmony_ci should loosely deep-equal 5351cb0ef41Sopenharmony_ci 5361cb0ef41Sopenharmony_ci <ref *1> { 5371cb0ef41Sopenharmony_ci bar: 2, 5381cb0ef41Sopenharmony_ci c: [Circular *1] 5391cb0ef41Sopenharmony_ci } 5401cb0ef41Sopenharmony_ci * { 5411cb0ef41Sopenharmony_ci generatedMessage: true, 5421cb0ef41Sopenharmony_ci code: 'ERR_ASSERTION', 5431cb0ef41Sopenharmony_ci actual: [Object], 5441cb0ef41Sopenharmony_ci expected: [Object], 5451cb0ef41Sopenharmony_ci operator: 'deepEqual' 5461cb0ef41Sopenharmony_ci } 5471cb0ef41Sopenharmony_ci 5481cb0ef41Sopenharmony_ci* 5491cb0ef41Sopenharmony_ci invalid subtest fail (*ms) 5501cb0ef41Sopenharmony_ci 'test could not be started because its parent finished' 551