Refactor test packages to use ES modules instead of CJS (#5138)
This commit is contained in:
committed by
Henry Zhu
parent
b315fc6135
commit
292c3ca206
@@ -1,6 +1,6 @@
|
||||
const assert = require("assert");
|
||||
const chalk = require("chalk");
|
||||
const codeFrame = require("..");
|
||||
import assert from "assert";
|
||||
import chalk from "chalk";
|
||||
import codeFrame from "..";
|
||||
|
||||
describe("babel-code-frame", function () {
|
||||
it("basic usage", function () {
|
||||
|
||||
Reference in New Issue
Block a user