We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0825ba2 commit d446b00Copy full SHA for d446b00
test/util.js
@@ -4,7 +4,6 @@ var util = require('../src/util');
4
5
describe('util', function() {
6
describe('isFunction', function() {
7
-
8
it('function should be properly detected', function() {
9
var f = function(f) { console.log(f); };
10
assert.equal(util.isFunction(f), true);
@@ -14,4 +13,11 @@ describe('util', function() {
14
13
});
15
16
+
17
+ describe('base64', function() {
18
+ it('string should be encoded properly', function() {
19
+ assert.equal(util.base64('test'), 'dGVzdA==');
20
+ });
21
22
23
0 commit comments