Skip to content

Commit

Permalink
Misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Jun 2, 2021
1 parent 6e5315d commit 7dd8220
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/babel-cli/test/index.js
Expand Up @@ -7,6 +7,7 @@ import path from "path";
import fs from "fs";
import { fileURLToPath } from "url";
import { createRequire } from "module";
import { jest } from "@jest/globals";

import { chmod } from "../lib/babel/util";

Expand Down
6 changes: 3 additions & 3 deletions packages/babel-helper-plugin-test-runner/src/index.js
Expand Up @@ -3,9 +3,9 @@ import path from "path";
import { URL } from "url";

// Workaround for https://github.com/facebook/jest/issues/11434
import "../../babel-helper-create-class-features-plugin/lib/index";
import "../../babel-template/lib/index";
import "../../babel-core/lib/index";
import "../../babel-helper-create-class-features-plugin/lib/index.js";
import "../../babel-template/lib/index.js";
import "../../babel-core/lib/index.js";

export default function (loc) {
if (!process.env.BABEL_8_BREAKING) {
Expand Down
Expand Up @@ -17,9 +17,9 @@ import { fileURLToPath } from "url";
import { jest } from "@jest/globals";

// Workaround for https://github.com/facebook/jest/issues/11434
import "../../babel-helper-create-class-features-plugin/lib/index";
import "../../babel-template/lib/index";
import "../../babel-core/lib/index";
import "../../babel-helper-create-class-features-plugin/lib/index.js";
import "../../babel-template/lib/index.js";
import "../../babel-core/lib/index.js";

import { createRequire } from "module";
const require = createRequire(import.meta.url);
Expand Down
@@ -1,3 +1,3 @@
/* eslint-disable @babel/development/plugin-name */

export { default } from "@babel/plugin-transform-react-jsx/lib/development";
export { default } from "@babel/plugin-transform-react-jsx/lib/development.js";

0 comments on commit 7dd8220

Please sign in to comment.