summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/conditional_exports
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-09-14 13:51:28 -0400
committerGitHub <noreply@github.com>2023-09-14 17:51:28 +0000
commite66d3c2c2e287879a757e12943a6d240981cb9e8 (patch)
tree827f518778324a091fa3fbbe8f533fc10b74200a /cli/tests/testdata/npm/conditional_exports
parent54890ee98b9068af41214b86fb693135f0998a0a (diff)
refactor: remove `DENO_UNSTABLE_NPM_SYNC_DOWNLOAD` and custom sync functionality (#20504)
https://github.com/denoland/deno/pull/20488 enables us to remove this functionality. This is better because our test suite is now not testing a separate code path.
Diffstat (limited to 'cli/tests/testdata/npm/conditional_exports')
-rw-r--r--cli/tests/testdata/npm/conditional_exports/main.out4
-rw-r--r--cli/tests/testdata/npm/conditional_exports/main_node_modules.out4
2 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/conditional_exports/main.out b/cli/tests/testdata/npm/conditional_exports/main.out
index 9f65c1f9a..dbd1b87fe 100644
--- a/cli/tests/testdata/npm/conditional_exports/main.out
+++ b/cli/tests/testdata/npm/conditional_exports/main.out
@@ -1,11 +1,15 @@
+[UNORDERED_START]
Download http://localhost:4545/npm/registry/@denotest/conditional-exports
Download http://localhost:4545/npm/registry/supports-esm
Download http://localhost:4545/npm/registry/has-package-exports
Download http://localhost:4545/npm/registry/@ljharb/has-package-exports-patterns
+[UNORDERED_END]
+[UNORDERED_START]
Download http://localhost:4545/npm/registry/@denotest/conditional-exports/1.0.0.tgz
Download http://localhost:4545/npm/registry/@ljharb/has-package-exports-patterns/has-package-exports-patterns-0.0.2.tgz
Download http://localhost:4545/npm/registry/has-package-exports/has-package-exports-1.3.0.tgz
Download http://localhost:4545/npm/registry/supports-esm/supports-esm-1.0.0.tgz
+[UNORDERED_END]
{ hello: "from esm" }
{ hello: "from foo" }
{ hello: "from esm client" }
diff --git a/cli/tests/testdata/npm/conditional_exports/main_node_modules.out b/cli/tests/testdata/npm/conditional_exports/main_node_modules.out
index 94ce95581..460aec0f1 100644
--- a/cli/tests/testdata/npm/conditional_exports/main_node_modules.out
+++ b/cli/tests/testdata/npm/conditional_exports/main_node_modules.out
@@ -1,7 +1,10 @@
+[UNORDERED_START]
Download http://localhost:4545/npm/registry/@denotest/conditional-exports
Download http://localhost:4545/npm/registry/supports-esm
Download http://localhost:4545/npm/registry/has-package-exports
Download http://localhost:4545/npm/registry/@ljharb/has-package-exports-patterns
+[UNORDERED_END]
+[UNORDERED_START]
Download http://localhost:4545/npm/registry/@denotest/conditional-exports/1.0.0.tgz
Initialize @denotest/conditional-exports@1.0.0
Download http://localhost:4545/npm/registry/@ljharb/has-package-exports-patterns/has-package-exports-patterns-0.0.2.tgz
@@ -10,6 +13,7 @@ Download http://localhost:4545/npm/registry/has-package-exports/has-package-expo
Initialize has-package-exports@1.3.0
Download http://localhost:4545/npm/registry/supports-esm/supports-esm-1.0.0.tgz
Initialize supports-esm@1.0.0
+[UNORDERED_END]
{ hello: "from esm" }
{ hello: "from foo" }
{ hello: "from esm client" }