Last active
August 29, 2015 14:08
-
-
Save theRemix/848d0c2e3224e783a021 to your computer and use it in GitHub Desktop.
chai specs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var chai = require('chai'); | |
var expect = chai.expect; | |
var should = chai.should(); | |
describe('something', function() { | |
it('should do something', function() { | |
var something = "some value"; | |
expect(something).to.be.a('string'); | |
something.should.equal('some value'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment