Skip to content

Commit 9673a89

Browse files
committed
add test
1 parent de5aa34 commit 9673a89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/zenblog/tests/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ test("Authors get by slug", async () => {
6969
expect(author).toBeDefined();
7070
expect(author.data).toBeDefined();
7171
expect(author.data.slug).toBe("pepe");
72+
expect(author.data.name).toBe("Pepe");
7273
});
7374

7475
test("Tags list", async () => {

0 commit comments

Comments
 (0)