Buckets:
ktongue/docker_container / .cache /opencode /node_modules /find-my-way /test /fastify-issue-3957.test.js
| const { test } = require('node:test') | |
| const FindMyWay = require('../') | |
| test('wildcard should not limit by maxParamLength', t => { | |
| t.plan(1) | |
| const findMyWay = FindMyWay({ | |
| defaultRoute: (req, res) => { | |
| t.assert.fail('we should not be here, the url is: ' + req.url) | |
| } | |
| }) | |
| findMyWay.on('GET', '*', (req, res, params) => { | |
| t.assert.deepEqual(params['*'], '/portfolios/b5859fb9-6c76-4db8-b3d1-337c5be3fd8b/instruments/2a694406-b43f-439d-aa11-0c814805c930/positions') | |
| }) | |
| findMyWay.lookup( | |
| { method: 'GET', url: '/portfolios/b5859fb9-6c76-4db8-b3d1-337c5be3fd8b/instruments/2a694406-b43f-439d-aa11-0c814805c930/positions', headers: {} }, | |
| null | |
| ) | |
| }) | |
Xet Storage Details
- Size:
- 697 Bytes
- Xet hash:
- 7c2109efdaa84f5efecb9037b3d4d9411dbf1bfcd21d82d5b5155bd0c6cf9a4f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.