Skip to content

Commit 2106f47

Browse files
xsbchenyyx990803
authored andcommitted
test: fix typescript test (#999)
1 parent ba5a375 commit 2106f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-typescript/__tests__/tsGenerator.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test('use with Babel', async () => {
5656
])
5757

5858
expect(pkg.babel).toEqual({ presets: ['@vue/app'] })
59-
expect(files['tsconfig.json']).toMatch(`"target": "es2015"`)
59+
expect(files['tsconfig.json']).toMatch(`"target": "esnext"`)
6060
})
6161

6262
test('lint', async () => {

0 commit comments

Comments
 (0)