Skip to content

Commit 443d3d9

Browse files
committed
Fix e2e test
1 parent 8028c8c commit 443d3d9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

integration/browser-entry-test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ test("allows users to pass a handleError function to HydratedRouter", async ({
145145
document,
146146
<StrictMode>
147147
<HydratedRouter
148-
unstable_handleError={(error, { location, errorInfo }) => {
149-
console.log(error.message, JSON.stringify(errorInfo), location.pathname)
148+
unstable_handleError={(error, errorInfo) => {
149+
console.log(error.message, JSON.stringify(errorInfo))
150150
}}
151151
/>
152152
</StrictMode>
@@ -188,7 +188,6 @@ test("allows users to pass a handleError function to HydratedRouter", async ({
188188
// Second one is ours
189189
expect(logs[1]).toContain("Render error");
190190
expect(logs[1]).toContain('"componentStack":');
191-
expect(logs[1]).toContain("/page");
192191

193192
appFixture.close();
194193
});

0 commit comments

Comments
 (0)