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 f3dde6e commit e0866e5Copy full SHA for e0866e5
test/test.js
@@ -16,6 +16,10 @@ describe('serveStatic()', function(){
16
server = createServer();
17
});
18
19
+ it('should require root path', function(){
20
+ serveStatic.bind().should.throw(/root path required/);
21
+ });
22
+
23
it('should serve static files', function(done){
24
request(server)
25
.get('/todo.txt')
0 commit comments