chore(deps): update dependency jest to v27 (#13375)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
This commit is contained in:
renovate[bot] 2021-05-26 15:26:47 +02:00 committed by GitHub
parent 9332579fc0
commit 2b06883a5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 757 additions and 784 deletions

View File

@ -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",

View File

@ -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"', {

View File

@ -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", {

1529
yarn.lock

File diff suppressed because it is too large Load Diff