about summary refs log tree commit diff
path: root/test/check.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/check.js')
-rw-r--r--test/check.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/check.js b/test/check.js
index 5bae1f5..12ed637 100644
--- a/test/check.js
+++ b/test/check.js
@@ -1,11 +1,11 @@
-import readline from "readline";
-import { parsePost } from "kronikarz/dist/parsePost";
+import readline from 'readline';
+import Post from 'kronikarz/dist/Post';
 
 const rl = readline.createInterface({
   input: process.stdin,
-  output: process.stdout
+  output: process.stdout,
 });
 
-rl.question("", filePath => {
-  parsePost(filePath);
+rl.question('', (filePath) => {
+  new Post(filePath);
 });