Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #24 from deckar01/fix-phantomjs-test
Browse files Browse the repository at this point in the history
Fix PhantomJS Tests on Linux
  • Loading branch information
deckar01 authored Jan 18, 2019
2 parents ba9a489 + 178ae8e commit 007fdec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Markdown TaskList components",
"homepage": "https://github.com/deckar01/task_list",
"devDependencies": {
"jquery": ">= 1.9.1",
"jquery": ">= 1.9.1 <3",
"qunit": "^1.0.0",
"rails-behaviors": "^0.8.4"
},
Expand Down
3 changes: 1 addition & 2 deletions test/run-qunit.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
fs = require 'fs'
print = (s) -> fs.write "/dev/stderr", s, 'w'

page = new WebPage()
page.onConsoleMessage = (msg) -> console.error msg
Expand Down Expand Up @@ -29,7 +28,7 @@ page.open phantom.args[0], ->
return unless tests
for test in tests when test
deferTimeout()
print test
console.error test

result = page.evaluate ->
result = document.getElementById('qunit-testresult')
Expand Down

0 comments on commit 007fdec

Please sign in to comment.