Buckets:
| const { test } = require('node:test') | |
| const FindMyWay = require('../') | |
| test('Wildcard route match when regexp route fails', (t) => { | |
| t.plan(1) | |
| const findMyWay = FindMyWay() | |
| findMyWay.on('GET', '/:a(a)', () => {}) | |
| findMyWay.on('GET', '/*', () => {}) | |
| t.assert.deepEqual(findMyWay.find('GET', '/b', {}).params, { '*': 'b' }) | |
| }) | |
Xet Storage Details
- Size:
- 352 Bytes
- Xet hash:
- 1b68f3c4e41777e65fa51715eb74a6eb88f10b05ea91cfacb6b9265ba5b0d9f3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.