Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Test undefined type identification.

Max Goodmand082a927c923
diff --git a/test/acceptance/utils.js b/test/acceptance/utils.js
index e67250b6..fa260bbf 100644
--- a/test/acceptance/utils.js
+++ b/test/acceptance/utils.js
@@ -341,6 +341,7 @@ describe('lib/utils', function () {
type(1).should.equal('number');
type(Infinity).should.equal('number');
type(null).should.equal('null');
+ type(undefined).should.equal('undefined');
type(new Date()).should.equal('date');
type(/foo/).should.equal('regexp');
type('type').should.equal('string');