diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-28 12:18:47 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-28 12:18:47 +0100 |
commit | 74ee8edb555ef128112378f828c636bc04533b31 (patch) | |
tree | fe4a09d720f9437bc0dc418180c9cf11f4d0a14b /test/generateApi.spec.ts | |
parent | 9f75ff1d2d5ebf34c040474e836e125f80253365 (diff) | |
download | kronikarz-74ee8edb555ef128112378f828c636bc04533b31.tar.gz kronikarz-74ee8edb555ef128112378f828c636bc04533b31.zip |
Fix remove attributes
Diffstat (limited to 'test/generateApi.spec.ts')
-rw-r--r-- | test/generateApi.spec.ts | 2 |
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"); }); }); |