Skip to content

Commit

Permalink
test: fix polyfill test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 10, 2018
1 parent 31f3101 commit 76196ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ test('polyfill detection', () => {
})
// default includes
expect(code).not.toMatch(`import "core-js/modules/es6.promise"`)
expect(code).not.toMatch(`import "core-js/modules/es6.object.assign"`)
// usage-based detection
expect(code).not.toMatch(`import "core-js/modules/es6.map"`)

Expand All @@ -30,7 +29,6 @@ test('polyfill detection', () => {
}))
// default includes
expect(code).toMatch(`import "core-js/modules/es6.promise"`)
expect(code).toMatch(`import "core-js/modules/es6.object.assign"`)
// usage-based detection
expect(code).toMatch(`import "core-js/modules/es6.map"`)
})
Expand Down

0 comments on commit 76196ba

Please sign in to comment.