diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-08-21 15:23:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-21 15:23:32 -0700 |
commit | 48da3c17ea905f50b82948e6f94795e1589f852e (patch) | |
tree | e65d5da97ef0cd4b9f67972b8ba647420d39952e /tests/specs/add/no_root_export/main.ts | |
parent | 9aaad3064a412b24e88e308750e038d4e1df6f3c (diff) |
fix(add): Handle packages without root exports (#25102)
Fixes #24607.
This PR makes the logic that caches top level dependencies (things
present in import map) smarter, so we handle JSR dependencies without
root exports.
Diffstat (limited to 'tests/specs/add/no_root_export/main.ts')
-rw-r--r-- | tests/specs/add/no_root_export/main.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/specs/add/no_root_export/main.ts b/tests/specs/add/no_root_export/main.ts new file mode 100644 index 000000000..0c0d4107f --- /dev/null +++ b/tests/specs/add/no_root_export/main.ts @@ -0,0 +1,3 @@ +import { it } from "@std/testing/bdd"; + +const _it = it; |