download
raw
416 Bytes
'use strict'
const { test } = require('node:test')
const FindMyWay = require('..')
test('Set method property when splitting node', t => {
t.plan(1)
const findMyWay = FindMyWay()
function handler (req, res, params) {
t.assert.ok()
}
findMyWay.on('GET', '/health-a/health', handler)
findMyWay.on('GET', '/health-b/health', handler)
t.assert.ok(!findMyWay.prettyPrint().includes('undefined'))
})

Xet Storage Details

Size:
416 Bytes
·
Xet hash:
b9f9f9d174029f7d700adbbb54d1bf4faa31b2c135f6b8a4481b816c30396a9a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.