From 6687c40e1e94fd4c15c2ac4ba4140b0f26f80159 Mon Sep 17 00:00:00 2001 From: Ivo Georgiev Date: Tue, 1 Dec 2015 13:15:40 +0200 Subject: [PATCH] Add basic parsing test --- test/basic.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/basic.js b/test/basic.js index cba0b641..038b999d 100644 --- a/test/basic.js +++ b/test/basic.js @@ -3,5 +3,7 @@ var fs = require("fs"); fs.readdirSync(".").filter(function(x){ return x.match(".json$") && x.match("-") }).forEach(function(lang) { tape(lang, function(t) { + try { require("../"+lang); t.ok(true, "parses properly"); } catch(e) { t.error(e) }; + t.end(); }) });