Skip to content

Commit

Permalink
Skip WebSocket tests on PhantomJS1, refs jdcataldo/grunt-mocha-phanto…
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Aug 7, 2015
1 parent f995107 commit 53f453a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"grunt-mocha-test": "^0.12.7",
"grunt-noflo-browser": "^0.1.3",
"grunt-noflo-manifest": "^0.1.2",
"mocha": "~1.21.0",
"mocha": "~2.2.0",
"noflo-core": "^0.1.11",
"noflo-runtime-websocket": "^0.5.1",
"websocket": "^1.0.8"
Expand Down
8 changes: 6 additions & 2 deletions spec/RemoteRuntimes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ else
# TODO: test whole connect/begin/endBracket/disconnect

describe 'Remote runtimes', ->

describe 'PseudoRuntime over WebSocket in NoFlo', ->

beforeEach ->
# WebSockets don't work properly in PhantomJS1
@skip() if window?.mochaPhantomJS?
c = null
server = null
port = 3888
Expand Down Expand Up @@ -147,6 +148,9 @@ describe 'Remote runtimes', ->


describe 'NoFlo over Websocket in NoFlo', ->
beforeEach ->
# WebSockets don't work properly in PhantomJS1
@skip() if window?.mochaPhantomJS?
server = null
c = null
port = 3891
Expand Down

0 comments on commit 53f453a

Please sign in to comment.