Skip to content

Commit 7448d37

Browse files
authored
test(instrumentation-express): pass correct type to app.get() (#2427)
1 parent e87ff9d commit 7448d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/node/opentelemetry-instrumentation-express/test/fixtures/use-express-regex.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ app.get(['/test/array1', /\/test\/array[2-9]/], (_req, res) => {
6161
res.send({ response: 'response 3' });
6262
});
6363

64-
app.get(['/test', 6, /test/], (_req, res) => {
64+
app.get(['/test', '6', /test/], (_req, res) => {
6565
res.send({ response: 'response 4' });
6666
});
6767

0 commit comments

Comments
 (0)