Skip to content

Commit 921447d

Browse files
committed
Fix test
1 parent bd6e5c3 commit 921447d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/highlightSyntaxInLine.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ test('highlighting should load languages on-demand', async () => {
1212
});
1313
expect(highlighter.getLoadedLanguages()).toEqual([]);
1414

15-
await highlightSyntaxInLine(referenceString, 'test.c', highlighter);
15+
await highlightSyntaxInLine(
16+
referenceString,
17+
'test.c',
18+
highlighter,
19+
'dark-plus'
20+
);
1621
expect(highlighter.getLoadedLanguages()).toEqual(['c']);
1722
});

0 commit comments

Comments
 (0)