Skip to content

Commit

Permalink
snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Jul 12, 2023
1 parent 96d6bc3 commit 6052d5d
Show file tree
Hide file tree
Showing 5 changed files with 308 additions and 51 deletions.
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(
[],
),
}
error - [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 Error resolving commonjs request
 1 | it("importing a not existing file should throw", () => {
 2 | // This is a check to make sure that the following tests would fail if they require("fail")
 3 | expect(() => {
+  v----------------------------v
4 +  require("./not-existing-file");
+  ^----------------------------^
 5 | }).toThrow();
 6 | });
 7 | 
 8 | function maybeReturn(x) {

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
|

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6052d5d

Please sign in to comment.