1
- import { ok , throws , strictEqual , doesNotThrow } from "assert" ;
1
+ import { ok , throws , deepStrictEqual as equal , doesNotThrow } from "assert" ;
2
2
import { Options } from "../../../lib/utils/index.js" ;
3
3
import { Internationalization } from "../../../lib/internationalization/internationalization.js" ;
4
4
@@ -11,13 +11,20 @@ describe("Default Options", () => {
11
11
opts . setValue ( "lightHighlightTheme" , "randomTheme" as never ) ,
12
12
) ;
13
13
opts . setValue ( "lightHighlightTheme" , "github-light" ) ;
14
- strictEqual ( opts . getValue ( "lightHighlightTheme" ) , "github-light" ) ;
14
+ equal ( opts . getValue ( "lightHighlightTheme" ) , "github-light" ) ;
15
15
16
16
throws ( ( ) =>
17
17
opts . setValue ( "darkHighlightTheme" , "randomTheme" as never ) ,
18
18
) ;
19
19
opts . setValue ( "darkHighlightTheme" , "github-light" ) ;
20
- strictEqual ( opts . getValue ( "darkHighlightTheme" ) , "github-light" ) ;
20
+ equal ( opts . getValue ( "darkHighlightTheme" ) , "github-light" ) ;
21
+ } ) ;
22
+ } ) ;
23
+
24
+ describe ( "highlightLanguages" , ( ) => {
25
+ it ( "Supports aliased languages" , ( ) => {
26
+ opts . setValue ( "highlightLanguages" , [ "bash" ] ) ;
27
+ equal ( opts . getValue ( "highlightLanguages" ) , [ "bash" ] ) ;
21
28
} ) ;
22
29
} ) ;
23
30
0 commit comments