Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed May 7, 2024
1 parent f19518a commit b8e7dec
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 18 deletions.
4 changes: 2 additions & 2 deletions tests/specs/install/future_install_global/install.out
@@ -1,5 +1,5 @@
Download http://localhost:4545/npm/registry/@denotest/esm-basic
Download http://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz
Download http://localhost:4260/@denotest/esm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Initialize @denotest/esm-basic@1.0.0
✅ Successfully installed deno-test-bin[WILDCARD]
[WILDCARD]
Expand Up @@ -5,7 +5,6 @@
},
"steps": [
{
"cleanDenoDir": true,
"args": "install npm:@denotest/esm-basic",
"output": "install.out"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/install/future_install_local_add_deno/install.out
@@ -1,4 +1,4 @@
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
Add @denotest/esm-basic - npm:@denotest/esm-basic@^1.0.0
Download http://localhost:4545/npm/registry/@denotest/esm-basic
Download http://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz
Download http://localhost:4260/@denotest/esm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Expand Up @@ -5,12 +5,10 @@
},
"steps": [
{
"cleanDenoDir": true,
"args": "install npm:@denotest/esm-basic",
"output": "install.out"
},
{
"cleanDenoDir": true,
"args": "run --allow-read=./package.json --cached-only main.js",
"exitCode": 0,
"output": "main.out"
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/install/future_install_local_add_npm/install.out
@@ -1,5 +1,5 @@
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
Add @denotest/esm-basic - npm:@denotest/esm-basic@^1.0.0
Download http://localhost:4545/npm/registry/@denotest/esm-basic
Download http://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz
Download http://localhost:4260/@denotest/esm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Initialize @denotest/esm-basic@1.0.0
Expand Up @@ -5,7 +5,6 @@
},
"steps": [
{
"cleanDenoDir": true,
"args": "install",
"output": "install.out"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/install/future_install_local_deno/install.out
Expand Up @@ -6,5 +6,5 @@ Download http://localhost:4545/subdir/print_hello.ts
Download http://127.0.0.1:4250/@denotest/add/meta.json
Download http://127.0.0.1:4250/@denotest/add/1.0.0_meta.json
Download http://127.0.0.1:4250/@denotest/add/1.0.0/mod.ts
Download http://localhost:4545/npm/registry/@denotest/esm-basic
Download http://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz
Download http://localhost:4260/@denotest/esm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/specs/install/future_install_node_modules/install.out

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/specs/install/no_future_install_global/install.out
@@ -1,5 +1,5 @@
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
Download http://localhost:4545/npm/registry/@denotest/esm-basic
Download http://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz
Download http://localhost:4260/@denotest/esm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
✅ Successfully installed deno-test-bin[WILDCARD]
[WILDCARD]

0 comments on commit b8e7dec

Please sign in to comment.