Buckets:
| const { test } = require('node:test') | |
| const FindMyWay = require('..') | |
| const noop = () => {} | |
| test('Should throw when not sending a string', t => { | |
| t.plan(3) | |
| const findMyWay = FindMyWay() | |
| t.assert.throws(() => { | |
| findMyWay.on('GET', '/t1', { constraints: { version: 42 } }, noop) | |
| }) | |
| t.assert.throws(() => { | |
| findMyWay.on('GET', '/t2', { constraints: { version: null } }, noop) | |
| }) | |
| t.assert.throws(() => { | |
| findMyWay.on('GET', '/t2', { constraints: { version: true } }, noop) | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 520 Bytes
- Xet hash:
- 49b23a30eae822a54de39ebe8dd072610f931496df23ba8cc3f3b7ddd15e3695
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.