diff options
Diffstat (limited to 'cli/tests/testdata/test/steps/invalid_usage.out')
-rw-r--r-- | cli/tests/testdata/test/steps/invalid_usage.out | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/cli/tests/testdata/test/steps/invalid_usage.out b/cli/tests/testdata/test/steps/invalid_usage.out index 9107cb4e0..3b9921f14 100644 --- a/cli/tests/testdata/test/steps/invalid_usage.out +++ b/cli/tests/testdata/test/steps/invalid_usage.out @@ -10,16 +10,14 @@ inner missing await ... step ... inner ... pending ([WILDCARD]) Error: Parent scope completed before test step finished execution. Ensure all steps are awaited (ex. `await t.step(...)`). - at postValidation [WILDCARD] - at testStepSanitizer [WILDCARD] + at [WILDCARD] + at async TestContext.step [WILDCARD] FAILED ([WILDCARD]) Error: There were still test steps running after the current scope finished execution. Ensure all steps are awaited (ex. `await t.step(...)`). await t.step("step", (t) => { ^ - at postValidation [WILDCARD] - at testStepSanitizer [WILDCARD] + at [WILDCARD] at async fn ([WILDCARD]/invalid_usage.ts:[WILDCARD]) - at async Object.testStepSanitizer [WILDCARD] FAILED ([WILDCARD]) parallel steps with sanitizers ... step 1 ... pending ([WILDCARD]) @@ -28,10 +26,8 @@ parallel steps with sanitizers ... * parallel steps with sanitizers > step 1 await t.step("step 2", () => {}); ^ - at preValidation ([WILDCARD]) - at testStepSanitizer ([WILDCARD]) - at [WILDCARD]/invalid_usage.ts:[WILDCARD] at [WILDCARD] + at [WILDCARD]/invalid_usage.ts:[WILDCARD] FAILED ([WILDCARD]) parallel steps when first has sanitizer ... step 1 ... pending ([WILDCARD]) @@ -40,10 +36,8 @@ parallel steps when first has sanitizer ... * parallel steps when first has sanitizer > step 1 await t.step({ ^ - at preValidation ([WILDCARD]) - at testStepSanitizer ([WILDCARD]) - at [WILDCARD]/invalid_usage.ts:[WILDCARD] at [WILDCARD] + at [WILDCARD]/invalid_usage.ts:[WILDCARD] FAILED ([WILDCARD]) parallel steps when second has sanitizer ... step 1 ... ok ([WILDCARD]) @@ -52,10 +46,8 @@ parallel steps when second has sanitizer ... * parallel steps when second has sanitizer > step 1 await t.step({ ^ - at preValidation ([WILDCARD]) - at testStepSanitizer ([WILDCARD]) - at [WILDCARD]/invalid_usage.ts:[WILDCARD] at [WILDCARD] + at [WILDCARD]/invalid_usage.ts:[WILDCARD] FAILED ([WILDCARD]) parallel steps where only inner tests have sanitizers ... step 1 ... @@ -67,8 +59,7 @@ parallel steps where only inner tests have sanitizers ... * parallel steps where only inner tests have sanitizers > step 1 await t.step({ ^ - at preValidation ([WILDCARD]) - at testStepSanitizer ([WILDCARD]) + at [WILDCARD] at [WILDCARD]/invalid_usage.ts:[WILDCARD] FAILED ([WILDCARD]) FAILED ([WILDCARD]) @@ -81,7 +72,6 @@ Error: Cannot run test step after parent scope has finished execution. Ensure an ^ at TestContext.step ([WILDCARD]) at [WILDCARD]/invalid_usage.ts:[WILDCARD] - at [WILDCARD] ./test/steps/invalid_usage.ts > top level missing await Error: There were still test steps running after the current scope finished execution. Ensure all steps are awaited (ex. `await t.step(...)`). |