Skip to content

Commit 836e469

Browse files
committed
fix: remove stage-2 from babel.spec
1 parent 890b3c9 commit 836e469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Babel.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test('processes .vue files with default babel if there is no .babelrc', () => {
2525
test('processes .vue files using .babelrc if it exists in route', () => {
2626
const babelRcPath = resolve(__dirname, '../.babelrc')
2727
const babelRcOriginal = readFileSync(babelRcPath, { encoding: 'utf8' })
28-
writeFileSync(babelRcPath, '{"presets": ["es2015", "stage-2"],"plugins": ["istanbul"]}')
28+
writeFileSync(babelRcPath, '{"presets": ["es2015"],"plugins": ["istanbul"]}')
2929
const filePath = resolve(__dirname, './resources/Basic.vue')
3030
const fileString = readFileSync(filePath, { encoding: 'utf8' })
3131

0 commit comments

Comments
 (0)