summaryrefslogtreecommitdiff
path: root/tests/registry/jsr/@std/testing/1.0.0
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-08-21 15:23:32 -0700
committerGitHub <noreply@github.com>2024-08-21 15:23:32 -0700
commit48da3c17ea905f50b82948e6f94795e1589f852e (patch)
treee65d5da97ef0cd4b9f67972b8ba647420d39952e /tests/registry/jsr/@std/testing/1.0.0
parent9aaad3064a412b24e88e308750e038d4e1df6f3c (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/registry/jsr/@std/testing/1.0.0')
-rw-r--r--tests/registry/jsr/@std/testing/1.0.0/bdd.ts2
-rw-r--r--tests/registry/jsr/@std/testing/1.0.0/types.ts1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/registry/jsr/@std/testing/1.0.0/bdd.ts b/tests/registry/jsr/@std/testing/1.0.0/bdd.ts
new file mode 100644
index 000000000..a665d0603
--- /dev/null
+++ b/tests/registry/jsr/@std/testing/1.0.0/bdd.ts
@@ -0,0 +1,2 @@
+export function it(_name: string, _fn: () => void) {
+} \ No newline at end of file
diff --git a/tests/registry/jsr/@std/testing/1.0.0/types.ts b/tests/registry/jsr/@std/testing/1.0.0/types.ts
new file mode 100644
index 000000000..feebd2603
--- /dev/null
+++ b/tests/registry/jsr/@std/testing/1.0.0/types.ts
@@ -0,0 +1 @@
+export type AssertType<A, B> = A extends B ? true : never; \ No newline at end of file