29 matches across 1 files for TODO lang:JavaScript lang:JavaScript lang:JavaScript path:test/express.static.js
snippet_mode: auto · sorted by relevance
test/express.static.js JAVASCRIPT 29 matches · showing 5 view file →
30 it('should serve static files', function (done) {
31 request(this.app)
32 .get('/todo.txt')
33 .expect(200, '- groceries', done)
34 })
· · ·
42 it('should set Content-Type', function (done) {
43 request(this.app)
44 .get('/todo.txt')
45 .expect('Content-Type', 'text/plain; charset=utf-8')
46 .expect(200, done)
· · ·
49 it('should set Last-Modified', function (done) {
50 request(this.app)
51 .get('/todo.txt')
52 .expect('Last-Modified', /\d{2} \w{3} \d{4}/)
53 .expect(200, done)
· · ·
56 it('should default max-age=0', function (done) {
57 request(this.app)
58 .get('/todo.txt')
59 .expect('Cache-Control', 'public, max-age=0')
60 .expect(200, done)
· · ·
69 it('should not choke on auth-looking URL', function (done) {
70 request(this.app)
71 .get('//todo@txt')
72 .expect(404, 'Not Found', done)
73 })
+ 24 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.