Skip to content

Commit 76196ba

Browse files
committed
test: fix polyfill test case
1 parent 31f3101 commit 76196ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ test('polyfill detection', () => {
1616
})
1717
// default includes
1818
expect(code).not.toMatch(`import "core-js/modules/es6.promise"`)
19-
expect(code).not.toMatch(`import "core-js/modules/es6.object.assign"`)
2019
// usage-based detection
2120
expect(code).not.toMatch(`import "core-js/modules/es6.map"`)
2221

@@ -30,7 +29,6 @@ test('polyfill detection', () => {
3029
}))
3130
// default includes
3231
expect(code).toMatch(`import "core-js/modules/es6.promise"`)
33-
expect(code).toMatch(`import "core-js/modules/es6.object.assign"`)
3432
// usage-based detection
3533
expect(code).toMatch(`import "core-js/modules/es6.map"`)
3634
})

0 commit comments

Comments
 (0)