Skip to content

Commit

Permalink
chore(deps): update dependency jest to v27 (#13375)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
3 people committed May 26, 2021
1 parent 9332579 commit 2b06883
Show file tree
Hide file tree
Showing 4 changed files with 755 additions and 782 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"gulp-plumber": "^1.2.1",
"gulp-revert-path": "^2.0.0",
"husky": "^3.0.0",
"jest": "^26.6.1",
"jest": "^27.0.0",
"lint-staged": "^9.2.0",
"lodash": "^4.17.21",
"mergeiterator": "^1.2.5",
Expand Down
5 changes: 4 additions & 1 deletion packages/babel-standalone/test/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ const require = createRequire(import.meta.url);
(process.env.TEST_TYPE === "cov" ? describe.skip : describe)(
"@babel/standalone",
() => {
const Babel = require("../babel");
let Babel;
beforeAll(() => {
Babel = require("../babel");
});

it("handles the es2015-no-commonjs preset", () => {
const output = Babel.transform('const getMessage = () => "Hello World"', {
Expand Down
5 changes: 4 additions & 1 deletion packages/babel-standalone/test/preset-stage-1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ const require = createRequire(import.meta.url);
(process.env.TEST_TYPE === "cov" ? describe.skip : describe)(
"stage-1 preset",
() => {
const Babel = require("../babel");
let Babel;
beforeAll(() => {
Babel = require("../babel");
});

it("should parser decimal literal", () => {
const output = Babel.transform("0.3m", {
Expand Down

0 comments on commit 2b06883

Please sign in to comment.