summary refs log tree commit diff
path: root/test/generateApi.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/generateApi.spec.ts')
-rw-r--r--test/generateApi.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/generateApi.spec.ts b/test/generateApi.spec.ts
index c2a96e3..bf63b6e 100644
--- a/test/generateApi.spec.ts
+++ b/test/generateApi.spec.ts
@@ -8,6 +8,6 @@ test("generate single file", () => {
   k.generateApi(dir);
   fs.readFile("./tmp/api/posts/2019/12/12/test.json", "utf-8", (err, data) => {
     const parsedPost = JSON.parse(data);
-    expect(parsedPost.title).toBe("test");
+    expect(parsedPost.title).toBe("Test");
   });
 });