-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: cover case with a longer stack
- Loading branch information
1 parent
a67f4e7
commit 00dfc8f
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
test/fixtures/es-modules/package-type-module/require-esm-error-annotation/longer-stack.cjs
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,11 @@ | ||
function main() { | ||
func1(func2(func3())) | ||
} | ||
|
||
function func1() { | ||
require('./app.js') | ||
} | ||
function func2() {} | ||
function func3() {} | ||
|
||
main() |
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