diff options
Diffstat (limited to 'tests/specs/cache/with_bare_import')
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts b/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts new file mode 100644 index 000000000..c0748305d --- /dev/null +++ b/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts @@ -0,0 +1 @@ +import "foo"; diff --git a/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out b/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out new file mode 100644 index 000000000..2668a6e08 --- /dev/null +++ b/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out @@ -0,0 +1,2 @@ +[WILDCARD]error: Relative import path "foo" not prefixed with / or ./ or ../ + at file:///[WILDCARD]/095_cache_with_bare_import.ts:[WILDCARD] diff --git a/tests/specs/cache/with_bare_import/__test__.jsonc b/tests/specs/cache/with_bare_import/__test__.jsonc new file mode 100644 index 000000000..0ff2d09cb --- /dev/null +++ b/tests/specs/cache/with_bare_import/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "args": "cache 095_cache_with_bare_import.ts", + "output": "095_cache_with_bare_import.ts.out", + "exitCode": 1 +} |
