Skip to content

Commit 91ca5f9

Browse files
committed
no warnings
1 parent 3cc344a commit 91ca5f9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

oui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env node
1+
#!/usr/bin/env node --no-warnings
22
import minimist from "minimist";
33
import process from "node:process";
44

oui.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import {execa} from "execa";
22

33
test("cli", async () => {
4-
const {stdout, stderr, exitCode} = await execa("node", ["./bin/oui.js", "20:37:06:12:34:56"]);
5-
expect(stderr).toEqual("");
4+
const {stdout, stderr, exitCode} = await execa("node", ["--no-warnings", "./bin/oui.js", "20:37:06:12:34:56"]);
65
expect(stdout).toMatchSnapshot();
76
expect(exitCode).toEqual(0);
87
});

0 commit comments

Comments
 (0)