summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/steps
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-04-16 20:51:55 +0100
committerGitHub <noreply@github.com>2022-04-16 21:51:55 +0200
commitbd6494d1194781f798f5eeaa822adc76dd27048e (patch)
treee7bd456c8cc8f57dfdabf42cbcbcff9a83f993c8 /cli/tests/testdata/test/steps
parent5f2d9a4a220307b1111c91dfac74951ef3925457 (diff)
fix(cli/tools/test): Prefix test module paths with "./" (#14301)
Diffstat (limited to 'cli/tests/testdata/test/steps')
-rw-r--r--cli/tests/testdata/test/steps/failing_steps.out10
-rw-r--r--cli/tests/testdata/test/steps/ignored_steps.out2
-rw-r--r--cli/tests/testdata/test/steps/invalid_usage.out16
-rw-r--r--cli/tests/testdata/test/steps/output_within.out2
-rw-r--r--cli/tests/testdata/test/steps/passing_steps.out2
5 files changed, 16 insertions, 16 deletions
diff --git a/cli/tests/testdata/test/steps/failing_steps.out b/cli/tests/testdata/test/steps/failing_steps.out
index 24e19a064..a5fd9d74d 100644
--- a/cli/tests/testdata/test/steps/failing_steps.out
+++ b/cli/tests/testdata/test/steps/failing_steps.out
@@ -1,5 +1,5 @@
[WILDCARD]
-running 3 tests from test/steps/failing_steps.ts
+running 3 tests from ./test/steps/failing_steps.ts
nested failure ...
step 1 ...
inner 1 ... FAILED ([WILDCARD])
@@ -35,17 +35,17 @@ FAILED ([WILDCARD])
failures:
-test/steps/failing_steps.ts > nested failure
+./test/steps/failing_steps.ts > nested failure
Error: 1 test step failed.
at runTest (deno:runtime/js/40_testing.js:[WILDCARD])
at async Object.runTests (deno:runtime/js/40_testing.js:[WILDCARD])
-test/steps/failing_steps.ts > multiple test step failures
+./test/steps/failing_steps.ts > multiple test step failures
Error: 2 test steps failed.
at runTest (deno:runtime/js/40_testing.js:[WILDCARD])
at async Object.runTests (deno:runtime/js/40_testing.js:[WILDCARD])
-test/steps/failing_steps.ts > failing step in failing test
+./test/steps/failing_steps.ts > failing step in failing test
Error: Fail test.
throw new Error("Fail test.");
^
@@ -54,7 +54,7 @@ Error: Fail test.
failures:
- test/steps/failing_steps.ts
+ ./test/steps/failing_steps.ts
nested failure
multiple test step failures
failing step in failing test
diff --git a/cli/tests/testdata/test/steps/ignored_steps.out b/cli/tests/testdata/test/steps/ignored_steps.out
index a045574bb..b89f4451f 100644
--- a/cli/tests/testdata/test/steps/ignored_steps.out
+++ b/cli/tests/testdata/test/steps/ignored_steps.out
@@ -1,5 +1,5 @@
[WILDCARD]
-running 1 test from test/steps/ignored_steps.ts
+running 1 test from ./test/steps/ignored_steps.ts
ignored step ...
step 1 ... ignored ([WILDCARD])
step 2 ... ok ([WILDCARD])
diff --git a/cli/tests/testdata/test/steps/invalid_usage.out b/cli/tests/testdata/test/steps/invalid_usage.out
index 833c3a74f..9107cb4e0 100644
--- a/cli/tests/testdata/test/steps/invalid_usage.out
+++ b/cli/tests/testdata/test/steps/invalid_usage.out
@@ -1,5 +1,5 @@
[WILDCARD]
-running 7 tests from test/steps/invalid_usage.ts
+running 7 tests from ./test/steps/invalid_usage.ts
capturing ...
some step ... ok ([WILDCARD])
FAILED ([WILDCARD])
@@ -75,7 +75,7 @@ FAILED ([WILDCARD])
failures:
-test/steps/invalid_usage.ts > capturing
+./test/steps/invalid_usage.ts > capturing
Error: Cannot run test step after parent scope has finished execution. Ensure any `.step(...)` calls are executed before their parent scope completes execution.
await capturedContext.step("next step", () => {});
^
@@ -83,35 +83,35 @@ Error: Cannot run test step after parent scope has finished execution. Ensure an
at [WILDCARD]/invalid_usage.ts:[WILDCARD]
at [WILDCARD]
-test/steps/invalid_usage.ts > top level missing await
+./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(...)`).
at postValidation [WILDCARD]
at testStepSanitizer ([WILDCARD])
[WILDCARD]
-test/steps/invalid_usage.ts > inner missing await
+./test/steps/invalid_usage.ts > inner missing await
Error: 1 test step failed.
at [WILDCARD]
-test/steps/invalid_usage.ts > parallel steps with sanitizers
+./test/steps/invalid_usage.ts > parallel steps with sanitizers
Error: There were still test steps running after the current scope finished execution. Ensure all steps are awaited (ex. `await t.step(...)`).
at postValidation [WILDCARD]
at testStepSanitizer ([WILDCARD])
[WILDCARD]
-test/steps/invalid_usage.ts > parallel steps when first has sanitizer
+./test/steps/invalid_usage.ts > parallel steps when first has sanitizer
Error: 1 test step failed.
at runTest ([WILDCARD])
at [WILDCARD]
-test/steps/invalid_usage.ts > parallel steps when second has sanitizer
+./test/steps/invalid_usage.ts > parallel steps when second has sanitizer
Error: 1 test step failed.
at runTest ([WILDCARD])
at [WILDCARD]
failures:
- test/steps/invalid_usage.ts
+ ./test/steps/invalid_usage.ts
capturing
top level missing await
inner missing await
diff --git a/cli/tests/testdata/test/steps/output_within.out b/cli/tests/testdata/test/steps/output_within.out
index b8610d903..e44843e29 100644
--- a/cli/tests/testdata/test/steps/output_within.out
+++ b/cli/tests/testdata/test/steps/output_within.out
@@ -1,5 +1,5 @@
[WILDCARD]
-running 1 test from test/steps/output_within.ts
+running 1 test from ./test/steps/output_within.ts
description ...
------- output -------
1
diff --git a/cli/tests/testdata/test/steps/passing_steps.out b/cli/tests/testdata/test/steps/passing_steps.out
index 4d876b7d5..e4ecbba42 100644
--- a/cli/tests/testdata/test/steps/passing_steps.out
+++ b/cli/tests/testdata/test/steps/passing_steps.out
@@ -1,5 +1,5 @@
[WILDCARD]
-running 5 tests from test/steps/passing_steps.ts
+running 5 tests from ./test/steps/passing_steps.ts
description ...
step 1 ...
inner 1 ... ok ([WILDCARD]ms)