download
raw
344 Bytes
import { test } from 'node:test'
import { fastify } from '../../fastify.js'
// This test is executed in index.test.js
test('named exports support', async t => {
const app = fastify()
app.register(import('./plugin.mjs'), { foo: 'bar' })
app.register(import('./other.mjs'))
await app.ready()
t.assert.strictEqual(app.foo, 'bar')
})

Xet Storage Details

Size:
344 Bytes
·
Xet hash:
b4cb088083858fbf104669a2bdf8bde8dd6882b21c7d900cbdb071d998dd68c2

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