Skip to content

Commit

Permalink
fix: fixed babel preset env test
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Weber committed Apr 17, 2021
1 parent 15b7216 commit 1048367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@averjs/babel-preset-app/__tests__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('dynamic import', () => {

test('rest spread should use assign polyfill', async () => {
const { code } = transformFactory('const a = { ...b };');
await expect(code).toMatch('core-js/modules/es6.object.assign.js');
await expect(code).toMatch('core-js/modules/es6.object.assign');
});

test('regenerator runtime should be included on client', async () => {
Expand Down

0 comments on commit 1048367

Please sign in to comment.