Skip to content

Commit d2453f4

Browse files
author
Christina Roberts
committed
Add test for exports.
1 parent 93dffd5 commit d2453f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/exports.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var _ = require('underscore');
2+
var deepEqual = require('assert').deepEqual;
3+
var s = require('../');
4+
5+
test('#exports', function() {
6+
deepEqual(_.intersection(Object.keys(s.exports()), _.functions(_)), [],
7+
'Conflicts exist between exports and underscore functions'
8+
);
9+
});

0 commit comments

Comments
 (0)