Skip to content

Instantly share code, notes, and snippets.

@theRemix
Last active August 29, 2015 14:08
Show Gist options
  • Save theRemix/848d0c2e3224e783a021 to your computer and use it in GitHub Desktop.
Save theRemix/848d0c2e3224e783a021 to your computer and use it in GitHub Desktop.
chai specs
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