Hook up a portful implementation of GH search
This commit is contained in:
10
8/test.js
Normal file
10
8/test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var fs = require("fs");
|
||||
var execSync = require("child_process").execSync;
|
||||
var path = require("path");
|
||||
var testDir = path.join(__dirname, "test");
|
||||
var binPath = path.join(__dirname, "..", "..", "node_modules", ".bin");
|
||||
var elmTestPath = path.join(binPath, "elm-test");
|
||||
var elmMakePath = path.join(binPath, "elm-make");
|
||||
|
||||
execSync(elmMakePath + " TestRunner.elm --yes --output /dev/null", { cwd: testDir });
|
||||
execSync(elmTestPath + " TestRunner.elm", { cwd: testDir, stdio: "inherit" });
|
||||
Reference in New Issue
Block a user