Skip to content
Browse files

Use `isBrowser` check for tests

  • Loading branch information...
1 parent d329d2f commit 3ba7e90880f201c2228f406104f6b4085f627515 @kenhkan kenhkan committed Jul 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/PairsToObject.coffee
View
2 spec/PairsToObject.coffee
@@ -1,5 +1,5 @@
noflo = require 'noflo'
-if typeof process is 'object' and process.title is 'node'
+unless noflo.isBrowser()
chai = require 'chai' unless chai
PairsToObject = require '../components/PairsToObject.coffee'
else

0 comments on commit 3ba7e90

Please sign in to comment.
Something went wrong with that request. Please try again.