Skip to content

Commit 53931c7

Browse files
committed
Fix compile error
1 parent 733e49d commit 53931c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/generator/__tests__/testGenerateExam.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ describe('generateExam()', () => {
280280
examCode: optional(fc.constantFrom('EA', 'M', 'N')),
281281
dayCode: optional(fc.constant('X')),
282282
maxAnswers: optional(maxAnswers),
283-
languages: optional(fc.set(fc.constantFrom('fi-FI', 'sv-FI'), 1, 2)),
283+
languages: optional(fc.set(fc.constantFrom('fi-FI' as const, 'sv-FI' as const), 1, 2)),
284284
title: optional(fc.string()),
285285
sections,
286286
})

0 commit comments

Comments
 (0)