-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: deprecate node compat itests (#25573)
- Loading branch information
1 parent
e4ea9be
commit eb8ee95
Showing
17 changed files
with
56 additions
and
63 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
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...compat_tests/node_process_beforeexit_exit_events_emitted_without_listeners/__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,5 @@ | ||
{ | ||
"args": "run process_beforeexit_exit_events.ts", | ||
"output": "process_beforeexit_exit_events.out", | ||
"exitCode": 0 | ||
} |
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions
9
tests/specs/node_compat_tests/node_test_module/__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,9 @@ | ||
{ | ||
"args": "test test.js", | ||
"output": "test.out", | ||
"envs": { | ||
"NO_COLOR": "1", | ||
"NPM_CONFIG_REGISTRY": "http://localhost:4260/" | ||
}, | ||
"exitCode": 1 | ||
} |
File renamed without changes.
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
9 changes: 9 additions & 0 deletions
9
tests/specs/node_compat_tests/node_test_module_no_sanitizers/__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,9 @@ | ||
{ | ||
"args": "test -A --no-check test_no_sanitizers/test.js", | ||
"output": "test_no_sanitizers/test.out", | ||
"envs": { | ||
"NO_COLOR": "1", | ||
"NPM_CONFIG_REGISTRY": "http://localhost:4260/" | ||
}, | ||
"exitCode": 0 | ||
} |
4 changes: 4 additions & 0 deletions
4
tests/specs/node_compat_tests/node_test_module_no_sanitizers/test_no_sanitizers/cat.ts
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,4 @@ | ||
const filename = Deno.args[0]; | ||
using file = await Deno.open(filename); | ||
|
||
await file.readable.pipeTo(Deno.stdout.writable); |
5 changes: 2 additions & 3 deletions
5
.../testdata/node/test_no_sanitizers/test.js → ..._no_sanitizers/test_no_sanitizers/test.js
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: 1 addition & 1 deletion
2
...testdata/node/test_no_sanitizers/test.out → ...no_sanitizers/test_no_sanitizers/test.out
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
1 change: 1 addition & 0 deletions
1
tests/specs/node_compat_tests/node_test_module_no_sanitizers/test_no_sanitizers/welcome.ts
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 @@ | ||
console.log("Welcome to Deno!"); |
5 changes: 5 additions & 0 deletions
5
tests/specs/node_compat_tests/web_node_events_dispatched_in_correct_order/__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,5 @@ | ||
{ | ||
"args": "run events_order.ts", | ||
"output": "events_order.out", | ||
"exitCode": 0 | ||
} |
File renamed without changes.
File renamed without changes.
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