We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc279b7 commit 52f4d46Copy full SHA for 52f4d46
test/development/typescript-plugin/index.test.ts
@@ -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