Refactor integration test files to use ES Module (#11891)
This commit is contained in:
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"])
|
||||
|
||||
Reference in new issue
Block a user