summary refs log tree commit diff
path: root/test/index.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/index.spec.ts')
-rw-r--r--test/index.spec.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/index.spec.ts b/test/index.spec.ts
new file mode 100644
index 0000000..4fd65e1
--- /dev/null
+++ b/test/index.spec.ts
@@ -0,0 +1,6 @@
+import Kronikarz from "../dist";
+
+test("basic", () => {
+  const k = new Kronikarz(__dirname + "/samples");
+  expect(k.getPosts().length).toBe(1);
+});