diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-07-25 10:26:54 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-25 10:26:54 +1000 |
| commit | f248050cb467eaed8d65428b8808254e26797cc5 (patch) | |
| tree | 7e43f16a8754a6313f65f0f65c037fdae2ce986f /tests/testdata/compile/dynamic_imports | |
| parent | 795ed23b356dc044cfb497a6189d588604a6c335 (diff) | |
chore: use `@std` prefix for internal module specifiers (#24543)
This change aims to replace all relative import specifiers targeted at
`tests/util/std` with mapped ones (using a `deno.json` file). Towards
updating the `std` git submodule.
Diffstat (limited to 'tests/testdata/compile/dynamic_imports')
| -rw-r--r-- | tests/testdata/compile/dynamic_imports/main_unanalyzable.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts b/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts index 34fb76dc4..e2ff07aa1 100644 --- a/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts +++ b/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts @@ -1,15 +1,11 @@ -import { join } from "../../../../tests/util/std/path/mod.ts"; - console.log("Starting the main module"); // We load the dynamic import path from the file system, to make sure any // improvements in static analysis can't defeat the purpose of this test, which // is to make sure the `--include` flag works to add non-analyzed imports to the // module graph. -const IMPORT_PATH_FILE_PATH = join( - Deno.cwd(), - "tests/testdata/compile/dynamic_imports/import_path", -); +const IMPORT_PATH_FILE_PATH = + "./tests/testdata/compile/dynamic_imports/import_path"; setTimeout(async () => { console.log("Dynamic importing"); |
