diff options
| -rw-r--r-- | Cakefile | 5 | ||||
| -rw-r--r-- | tests/completion_test.coffee | 2 | 
2 files changed, 2 insertions, 5 deletions
| @@ -9,6 +9,5 @@ task "test", "run all unit tests", ->    # Run running the command `node tests/*_test.js`.    test_files = fs.readdirSync("tests/").filter((filename) -> filename.indexOf("_test.js") > 0)    test_files = test_files.map((filename) -> "tests/" + filename) -  node = spawn "node", test_files -  node.stdout.on "data", (data) -> console.log data.toString().trim() -  node.stderr.on "data", (data) -> console.log data.toString().trim() +  test_files.forEach (file) -> require "./" + file +  Tests.run() diff --git a/tests/completion_test.coffee b/tests/completion_test.coffee index a46dbbf2..e27a188f 100644 --- a/tests/completion_test.coffee +++ b/tests/completion_test.coffee @@ -163,5 +163,3 @@ filterCompleter = (completer, queryTerms) ->    results  hours = (n) -> 1000 * 60 * 60 * n - -Tests.run()
\ No newline at end of file | 
