Skip to content

Commit 64f8cd8

Browse files
TinyKittenclaude
andcommitted
テストのhooksモックにusePresetStopsを追加
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f942ecf commit 64f8cd8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/SelectBoundModal.render.test.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jest.mock('~/hooks', () => ({
2828
save: jest.fn(),
2929
remove: jest.fn(),
3030
})),
31+
usePresetStops: jest.fn(() => ({
32+
presetOrigin: null,
33+
presetStops: undefined,
34+
nearestPresetStation: undefined,
35+
resolvePresetDirection: jest.fn(() => 'INBOUND'),
36+
})),
3137
}));
3238

3339
jest.mock('~/translation', () => ({

0 commit comments

Comments
 (0)