Skip to content

Commit

Permalink
100% coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pemrouz committed Jun 14, 2015
1 parent e057bfe commit f88c4ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test.js
Expand Up @@ -3,7 +3,12 @@ var expect = require('chai').expect

describe('client', function() {

it('should detect running in node', function(){
/* istanbul ignore next */
typeof window !== 'undefined' && it('should detect running in browser', function(){
expect(client).to.be.ok
})

typeof window === 'undefined' && it('should detect running in node', function(){
expect(client).to.not.be.ok
})

Expand Down

0 comments on commit f88c4ca

Please sign in to comment.