Skip to content

Commit 52f4d46

Browse files
committed
Revert "remove index test"
This reverts commit 10c63f5.
1 parent cc279b7 commit 52f4d46

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import type { PluginLanguageService } from './test-utils'
2+
import { getPluginLanguageService } from './test-utils'
3+
4+
describe('typescript-plugin', () => {
5+
let languageService: PluginLanguageService
6+
7+
beforeAll(() => {
8+
languageService = getPluginLanguageService(__dirname)
9+
})
10+
11+
it('should be able to get the language service', () => {
12+
expect(languageService).toBeDefined()
13+
const capturedLogs = languageService.getCapturedLogs()
14+
expect(capturedLogs).toContain(
15+
'[next] Initialized Next.js TypeScript plugin'
16+
)
17+
})
18+
})

0 commit comments

Comments
 (0)