Skip to content

Commit 90a0c9c

Browse files
test: more fixes
1 parent e5312c2 commit 90a0c9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/build/core-flags/core-flags.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe("core flags", () => {
2626
it("should ignore the warning emitted", async () => {
2727
const { exitCode, stderr, stdout } = await run(__dirname, [
2828
"--ignore-warnings",
29-
/Generated Warning/,
29+
"/Generated Warning/",
3030
"--config",
3131
"warning.config.js",
3232
]);
@@ -40,7 +40,7 @@ describe("core flags", () => {
4040
it("should reset options.ignoreWarnings", async () => {
4141
const { exitCode, stderr, stdout } = await run(__dirname, [
4242
"--ignore-warnings",
43-
/Generated Warning/,
43+
"/Generated Warning/",
4444
"--ignore-warnings-reset",
4545
"--config",
4646
"warning.config.js",
@@ -211,7 +211,7 @@ describe("core flags", () => {
211211
it("should allow RegExp value for `infrastructureLogging.debug`", async () => {
212212
const { exitCode, stderr, stdout } = await run(__dirname, [
213213
"--infrastructure-logging-debug",
214-
/MyPlugin/,
214+
"/MyPlugin/",
215215
]);
216216

217217
expect(exitCode).toBe(0);
@@ -223,7 +223,7 @@ describe("core flags", () => {
223223
const { exitCode, stderr, stdout } = await run(__dirname, [
224224
"--infrastructure-logging-debug",
225225
"MyPlugin",
226-
/MyAnotherPlugin/,
226+
"/MyAnotherPlugin/",
227227
]);
228228

229229
expect(exitCode).toBe(0);

0 commit comments

Comments
 (0)