Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
sluukkonen committed Jul 27, 2020
1 parent 733e49d commit 53931c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generator/__tests__/testGenerateExam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ describe('generateExam()', () => {
examCode: optional(fc.constantFrom('EA', 'M', 'N')),
dayCode: optional(fc.constant('X')),
maxAnswers: optional(maxAnswers),
languages: optional(fc.set(fc.constantFrom('fi-FI', 'sv-FI'), 1, 2)),
languages: optional(fc.set(fc.constantFrom('fi-FI' as const, 'sv-FI' as const), 1, 2)),
title: optional(fc.string()),
sections,
})
Expand Down

0 comments on commit 53931c7

Please sign in to comment.