summary refs log tree commit diff
path: root/lib/__tests__/index.spec.ts
blob: 52e28ba710ea4c036ef95ff47d93b94d94051b25 (plain)
1
2
3
4
5
6
7
import Kronikarz from "..";

test("basic", () => {
  const k = new Kronikarz(__dirname + "/samples");
  console.log(k.getPosts());
  expect(k.getPosts().length).toBe(1);
});