Skip to content

Commit

Permalink
test: fix trace snapshot (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy authored Oct 16, 2024
1 parent e98cb02 commit 012682d
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 122 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@jest/test-sequencer": "^29.7.0",
"@rspack/core": "1.0.6",
"@rspack/core": "1.0.11",
"@rspack/plugin-react-refresh": "1.0.0",
"@types/connect-history-api-fallback": "1.5.4",
"@types/express": "4.17.21",
Expand Down
106 changes: 53 additions & 53 deletions pnpm-lock.yaml

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

40 changes: 20 additions & 20 deletions tests/e2e/__snapshots__/logging.test.js.snap.webpack5
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ exports[`logging should work and log errors by default (sockjs) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand All @@ -44,8 +44,8 @@ exports[`logging should work and log errors by default (ws) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand Down Expand Up @@ -138,8 +138,8 @@ exports[`logging should work and log only error (sockjs) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand All @@ -154,8 +154,8 @@ exports[`logging should work and log only error (ws) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand Down Expand Up @@ -194,8 +194,8 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
Expand All @@ -204,8 +204,8 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand All @@ -220,8 +220,8 @@ exports[`logging should work and log warning and errors (ws) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
[webpack-dev-server] Errors while compiling. Reload prevented.,
[webpack-dev-server] ERROR
Expand All @@ -230,8 +230,8 @@ exports[`logging should work and log warning and errors (ws) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand All @@ -248,8 +248,8 @@ exports[`logging should work and log warnings by default (sockjs) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand All @@ -266,8 +266,8 @@ exports[`logging should work and log warnings by default (ws) 1`] = `
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
│ at <rspack>/dist/Compiler.js:<line>:<row>
│ at last.function (<rspack>/dist/Compiler.js:<line>:<row>)
│ at <rspack>/dist/index.js:<line>:<row>
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
,
]
`;
Expand Down
Loading

0 comments on commit 012682d

Please sign in to comment.