Refactor integration test files to use ES Module (#11891)

This commit is contained in:
fisker Cheung authored and GitHub committed 2021-12-02 10:19:32 +08:00
1 parent 0d6d47b30a
commit 8ffbcbbcae
70 files changed
+197 -282

No files matched your search

@@ -1,7 +1,5 @@
"use strict";
const snapshotDiff = require("snapshot-diff");
const runPrettier = require("../runPrettier.js");
import snapshotDiff from "snapshot-diff";
import runPrettier from "../runPrettier.js";
test("show external options with `--help`", async () => {
const originalStdout = await runPrettier("plugins/options-string", ["--help"])