Skip to content

Commit f21ec3e

Browse files
committed
style: prettier
1 parent bfc3465 commit f21ec3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/cli.test.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test("cli", (t) => {
3232
child.stdout.on("data", (data) => {
3333
t.equal(
3434
data.toString().replace(stripAnsiColorRE, ""),
35-
`INFO (probot): hello future\n`
35+
`INFO (probot): hello future\n`,
3636
);
3737
});
3838
child.stdin.write(logLine);
@@ -47,12 +47,12 @@ test("cli", (t) => {
4747
child.stdout.on("data", (data) => {
4848
t.match(
4949
data.toString().replace(stripAnsiColorRE, ""),
50-
/event: "installation_repositories.added"/
50+
/event: "installation_repositories.added"/,
5151
);
5252
t.match(data.toString().replace(stripAnsiColorRE, ""), /status: 500/);
5353
t.match(
5454
data.toString().replace(stripAnsiColorRE, ""),
55-
/x-github-request-id: "789"/
55+
/x-github-request-id: "789"/,
5656
);
5757
t.match(
5858
data.toString(),
@@ -85,7 +85,7 @@ test("cli", (t) => {
8585
child.stdout.on("data", (data) => {
8686
t.equal(
8787
data.toString().replace(stripAnsiColorRE, ""),
88-
logLine.replace('"level":30', '"level":"info"')
88+
logLine.replace('"level":30', '"level":"info"'),
8989
);
9090
});
9191
child.stdin.write(logLine);
@@ -210,7 +210,7 @@ sentryEventId: 123`,
210210
child.stdout.on("data", (data) => {
211211
t.match(
212212
data.toString().replace(stripAnsiColorRE, ""),
213-
/^FATAL \(probot\): Oh no!\n/
213+
/^FATAL \(probot\): Oh no!\n/,
214214
);
215215
});
216216
child.stdin.write(fatalErrorLine);

0 commit comments

Comments
 (0)