mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 15:14:33 +00:00
chore: move test files to testdata directory (#11601)
This commit is contained in:
parent
a0285e2eb8
commit
15a763152f
1089 changed files with 1150 additions and 1160 deletions
10
cli/tests/testdata/error_019_stack_function.ts
vendored
Normal file
10
cli/tests/testdata/error_019_stack_function.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
function foo(): never {
|
||||
throw new Error("function");
|
||||
}
|
||||
|
||||
try {
|
||||
foo();
|
||||
} catch (error) {
|
||||
console.log(error.stack);
|
||||
throw error;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue