Skip to content

Commit 319f9fe

Browse files
committed
format
1 parent c8faa90 commit 319f9fe

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ node_modules/
77
docs/site
88
package-lock.json
99
pnpm-lock.yaml
10+
.nyc_output

tests/profile.spec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@ const user = session.getProfile(username);
99

1010
tap.test("make sure status is string", async (t) => {
1111
t.type(await user.getStatus(), "string");
12-
t.end()
12+
t.end();
1313
});
1414

1515
tap.test("make sure status is not empty", async (t) => {
1616
if ((await user.getStatus()) === "") {
1717
throw new Error("Status is empty");
1818
}
19-
t.end()
19+
t.end();
2020
});
2121

2222
// profile comments
2323
const profileComments = await user.getComments();
2424

2525
tap.test("make sure comments is an object (also array)", (t) => {
2626
t.type(profileComments, "object");
27-
t.end()
27+
t.end();
2828
});
2929

3030
tap.test("make sure comments is not empty", (t) => {
3131
if (profileComments.length === 0) {
3232
throw new Error("Comments is empty");
3333
}
34-
t.end()
34+
t.end();
3535
});
3636

3737
tap.test("make sure comments has correct type", (t) => {
@@ -41,7 +41,7 @@ tap.test("make sure comments has correct type", (t) => {
4141
t.type(comment.content, "string");
4242
t.type(comment.replies, "object");
4343
});
44-
t.end()
44+
t.end();
4545
});
4646

4747
// comment replies
@@ -53,5 +53,5 @@ tap.test("make sure replies has correct type", (t) => {
5353
t.type(reply.content, "string");
5454
});
5555
});
56-
t.end()
56+
t.end();
5757
});

tests/project.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import tap from "tap"
1+
import tap from "tap";
22
import { ScratchSession } from "../dist/index.js";
33

44
const session = new ScratchSession();

0 commit comments

Comments
 (0)