Skip to content

Commit fe4e70d

Browse files
committed
fix(web-integration): update mock implementation in task-cache test to use evaluate method
1 parent 6dc9cb9 commit fe4e70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web-integration/tests/unit-test/task-cache.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ describe(
283283
const mockLocator = {
284284
count: vi.fn().mockResolvedValue(1),
285285
first: vi.fn().mockReturnValue({
286-
scrollIntoViewIfNeeded: vi.fn(),
286+
evaluate: vi.fn(),
287287
}),
288288
};
289289
(taskCache.page as any).underlyingPage = {

0 commit comments

Comments
 (0)