-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96d6bc3
commit 6052d5d
Showing
5 changed files
with
308 additions
and
51 deletions.
There are no files selected for viewing
48 changes: 20 additions & 28 deletions
48
...sts/execution/turbopack/basic/comptime/issues/Error resolving commonjs request-ee63e3.txt
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 |
---|---|---|
@@ -1,28 +1,20 @@ | ||
PlainIssue { | ||
severity: Error, | ||
context: "[project]/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js", | ||
category: "resolve", | ||
title: "Error resolving commonjs request", | ||
description: "unable to resolve relative \"./not-existing-file\"", | ||
detail: "It was not possible to find the requested file.\nParsed request as written in source code: relative \"./not-existing-file\"\nPath where resolving has started: [project]/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js\nType of request: commonjs request\nImport map: No import map entry\n", | ||
documentation_link: "", | ||
source: Some( | ||
PlainIssueSource { | ||
asset: PlainAsset { | ||
ident: "[project]/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js", | ||
}, | ||
start: SourcePos { | ||
line: 3, | ||
column: 5, | ||
}, | ||
end: SourcePos { | ||
line: 3, | ||
column: 35, | ||
}, | ||
}, | ||
), | ||
sub_issues: [], | ||
processing_path: Some( | ||
[], | ||
), | ||
} | ||
[91merror[0m - [resolve] [project]/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js /crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js:4:5 [1mError resolving commonjs request[0m | ||
[2m 1 | it("importing a not existing file should throw", () => {[0m | ||
[2m 2 | // This is a check to make sure that the following tests would fail if they require("fail")[0m | ||
[2m 3 | expect(() => {[0m | ||
+ [1m v----------------------------v[0m | ||
4 + [2m r[0m[1mequire("./not-existing-file");[0m[2m[0m | ||
+ [1m ^----------------------------^[0m | ||
[2m 5 | }).toThrow();[0m | ||
[2m 6 | });[0m | ||
[2m 7 | [0m | ||
[2m 8 | function maybeReturn(x) {[0m | ||
|
||
unable to resolve relative "./not-existing-file" | ||
|
||
| It was not possible to find the requested file. | ||
| Parsed request as written in source code: relative "./not-existing-file" | ||
| Path where resolving has started: [project]/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js | ||
| Type of request: commonjs request | ||
| Import map: No import map entry | ||
| |
148 changes: 140 additions & 8 deletions
148
...urbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.