// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual codeFixSpellingJs5" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestCodeFixSpellingJs5(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `// @allowjs: true // @noEmit: true // @filename: a.js var other = { puuce: 4 } var Jimmy = 1 var John = 2 // @filename: b.js other.puuuce // OK, from another file new Date().getGMTDate() // OK, from another file window.argle // OK, from globalThis self.blargle // OK, from globalThis // No suggestions for globals from other files const atoc = setIntegral(() => console.log('ok'), 500) AudioBuffin // etc Jimmy Jon` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.VerifyNoErrors(t) }