Skip to content

Instantly share code, notes, and snippets.

@TheSavior
Created June 11, 2015 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheSavior/3ef4fcf1803394de5b77 to your computer and use it in GitHub Desktop.
Save TheSavior/3ef4fcf1803394de5b77 to your computer and use it in GitHub Desktop.
CommonJS Testing Public Utils Test
'use strict';
var utils = require('./utils');
describe('utils', function() {
describe('#add', function() {
it('should add two numbers', function() {
var actual = utils.add(2, 4);
assert.equal(actual, 6);
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment