48 matches across 1 files for func main path:test/req.subdomains.js lang:JavaScript
snippet_mode: grep · sorted by relevance
test/req.subdomains.js JAVASCRIPT 48 matches · showing 5 view file →
4 , request = require('supertest');
5
6describe('req', function(){
7 describe('.subdomains', function(){
8 describe('when present', function(){
· · ·
7 describe('.subdomains', function(){
8 describe('when present', function(){
9 it('should return an array', function(done){
· · ·
8 describe('when present', function(){
9 it('should return an array', function(done){
10 var app = express();
· · ·
9 it('should return an array', function(done){
10 var app = express();
11
· · ·
12 app.use(function(req, res){
13 res.send(req.subdomains);
14 });
+ 43 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.