Last active
October 13, 2015 16:32
-
-
Save elicwhite/7c1b43f157a70f465ce5 to your computer and use it in GitHub Desktop.
Test Expose add and add2
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 privateState = require('privatestate'); | |
var utils = require('./utils'); | |
describe('utils#add', function() { | |
it('should add two numbers', function() { | |
var add = privateState.getForTesting(utils, 'add'); | |
var actual = 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