Skip to content

Commit

Permalink
Use isBrowser check for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhkan committed Jul 31, 2013
1 parent d329d2f commit 3ba7e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/PairsToObject.coffee
@@ -1,5 +1,5 @@
noflo = require 'noflo' noflo = require 'noflo'
if typeof process is 'object' and process.title is 'node' unless noflo.isBrowser()
chai = require 'chai' unless chai chai = require 'chai' unless chai
PairsToObject = require '../components/PairsToObject.coffee' PairsToObject = require '../components/PairsToObject.coffee'
else else
Expand Down

0 comments on commit 3ba7e90

Please sign in to comment.