Skip to content

Commit

Permalink
test: add core-js
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgdb committed Oct 10, 2021
1 parent 3adb61d commit d6dac34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ module.exports = {
testEnvironment: 'node',
transformIgnorePatterns: ['/node_modules/(?!@babel/runtime)', 'dist'],
testPathIgnorePatterns: ['node_modules', 'dist'],
setupFiles: ['core-js'],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@typescript-eslint/parser": "^4.32.0",
"babel-jest": "^27.2.5",
"babel-loader": "^8.2.2",
"core-js": "^3.18.2",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2130,6 +2130,11 @@ core-js-compat@^3.16.0, core-js-compat@^3.16.2:
browserslist "^4.17.1"
semver "7.0.0"

core-js@^3.18.2:
version "3.18.2"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.18.2.tgz#63a551e8a29f305cd4123754846e65896619ba5b"
integrity sha512-zNhPOUoSgoizoSQFdX1MeZO16ORRb9FFQLts8gSYbZU5FcgXhp24iMWMxnOQo5uIaIG7/6FA/IqJPwev1o9ZXQ==

cross-spawn@^7.0.2, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
Expand Down

0 comments on commit d6dac34

Please sign in to comment.