-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: enable package_json_node_modules_none (#25825)
Co-authored-by: David Sherret <[email protected]>
- Loading branch information
1 parent
edac916
commit 7b509e4
Showing
8 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/specs/task/package_json_node_modules_dir_none/__test__.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"tempDir": true, | ||
"args": "task echo", | ||
"output": "bin.out", | ||
"exitCode": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[UNORDERED_START] | ||
Download http://localhost:4260/@denotest/bin | ||
Download http://localhost:4260/@denotest/bin/1.0.0.tgz | ||
Download http://localhost:4260/@denotest/bin/0.5.0.tgz | ||
[UNORDERED_END] | ||
Task echo deno eval 'console.log(1)' && cli-esm hi | ||
1 | ||
hi |
3 changes: 3 additions & 0 deletions
3
tests/specs/task/package_json_node_modules_dir_none/deno.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"nodeModulesDir": "none" | ||
} |
2 changes: 1 addition & 1 deletion
2
..._json_node_modules_dir_false/package.json → ...e_json_node_modules_dir_none/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
tests/testdata/task/package_json_node_modules_dir_false/bin.out
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/testdata/task/package_json_node_modules_dir_false/deno.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters