Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions GitWeb/test/collaboratorStore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const github = {
cancelRepositoryInvitation: vi.fn()
}
vi.stubGlobal('window', { api: { github } })
// The store picks its language from the OS, and the assertions below are in
// pt-BR: without this the suite only passes on a machine set to Portuguese.
vi.stubGlobal('navigator', { languages: ['pt-BR'] })

const { usePullRequestStore } = await import('../src/renderer/src/store/pullRequestStore')
const { sessionKeyOf, useCollaboratorStore } = await import('../src/renderer/src/store/collaboratorStore')
Expand Down
Loading