Skip to content

Commit 8779560

Browse files
committed
Fix ace-builds breaking change
1 parent 0cfb082 commit 8779560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/mode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const defaultVariant: Variant = Variant.DEFAULT
1414
const defaultExternal: string = 'NONE'
1515

1616
// define session
17-
const session = ace.createEditSession('', DefaultMode)
17+
const session = ace.createEditSession('', new DefaultMode.Mode())
1818

1919
// tested token types
2020
const CATEGORY = {

0 commit comments

Comments
 (0)