File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ test("LuaLibImportKind.Inline generates a warning", () => {
9090 result.push(3);
9191 `
9292 . setOptions ( { luaLibImport : LuaLibImportKind . Inline } )
93- . expectDiagnosticsToMatchSnapshot ( undefined , true )
93+ . expectDiagnosticsToMatchSnapshot ( [ 0 ] , true )
9494 . expectToEqual ( { result : [ 1 , 2 , 3 ] } ) ;
9595} ) ;
9696
@@ -113,9 +113,9 @@ test("cyclic imports", () => {
113113} ) ;
114114
115115test ( "no entry point" , ( ) => {
116- util . testBundle `` . setOptions ( { luaBundleEntry : undefined } ) . expectDiagnosticsToMatchSnapshot ( undefined , true ) ;
116+ util . testBundle `` . setOptions ( { luaBundleEntry : undefined } ) . expectDiagnosticsToMatchSnapshot ( [ 0 ] , true ) ;
117117} ) ;
118118
119119test ( "luaEntry doesn't exist" , ( ) => {
120- util . testBundle `` . setEntryPoint ( "entry.ts" ) . expectDiagnosticsToMatchSnapshot ( undefined , true ) ;
120+ util . testBundle `` . setEntryPoint ( "entry.ts" ) . expectDiagnosticsToMatchSnapshot ( [ 0 ] , true ) ;
121121} ) ;
You can’t perform that action at this time.
0 commit comments