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 647d32c commit ae253f2Copy full SHA for ae253f2
test/index.js
@@ -1,4 +1,3 @@
1
-
2
var assert = require('assert');
3
var auth = require('..');
4
@@ -26,7 +25,7 @@ describe('auth(req)', function(){
26
25
})
27
28
describe('with malformed credentials', function(){
29
- it('should return nulll', function(){
+ it('should return null', function(){
30
var req = request('basic Zm9vcgo=');
31
assert(null == auth(req));
32
@@ -38,4 +37,4 @@ describe('auth(req)', function(){
38
37
auth(req).should.eql({ name: 'foo', pass: 'bar' });
39
40
41
-})
+})
0 commit comments