From 66e80642a3f947f5c44c121689c299480440bb65 Mon Sep 17 00:00:00 2001 From: xsbchen Date: Sat, 17 Mar 2018 15:56:55 +0800 Subject: [PATCH] test: fix typescript test --- .../@vue/cli-plugin-typescript/__tests__/tsGenerator.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vue/cli-plugin-typescript/__tests__/tsGenerator.spec.js b/packages/@vue/cli-plugin-typescript/__tests__/tsGenerator.spec.js index d4f45ca6b0..7b4e3b96dd 100644 --- a/packages/@vue/cli-plugin-typescript/__tests__/tsGenerator.spec.js +++ b/packages/@vue/cli-plugin-typescript/__tests__/tsGenerator.spec.js @@ -56,7 +56,7 @@ test('use with Babel', async () => { ]) expect(pkg.babel).toEqual({ presets: ['@vue/app'] }) - expect(files['tsconfig.json']).toMatch(`"target": "es2015"`) + expect(files['tsconfig.json']).toMatch(`"target": "esnext"`) }) test('lint', async () => {