diff options
Diffstat (limited to 'test/getPost.spec.ts')
-rw-r--r-- | test/getPost.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/getPost.spec.ts b/test/getPost.spec.ts index 6a5e4e0..72d7b5e 100644 --- a/test/getPost.spec.ts +++ b/test/getPost.spec.ts @@ -4,5 +4,5 @@ const k = new Kronikarz(__dirname + "/samples"); test("simple get", () => { const post = k.getPost("2019", "12", "12", "test"); - expect(post.content.meta["title"]).toBe("Test"); + expect(post.title).toBe("Test"); }); |