Buckets:
| const { test } = require('node:test') | |
| const fp = require('../plugin') | |
| test('anonymous function should be named composite.test0', (t) => { | |
| t.plan(2) | |
| const fn = fp((_fastify, _opts, next) => { | |
| next() | |
| }) | |
| t.assert.strictEqual(fn[Symbol.for('plugin-meta')].name, 'composite.test-auto-0') | |
| t.assert.strictEqual(fn[Symbol.for('fastify.display-name')], 'composite.test-auto-0') | |
| }) | |
Xet Storage Details
- Size:
- 402 Bytes
- Xet hash:
- ab045120a43eedfc1cb8ccab9688a22a6df220c9a0d6ce75d5f4e50776532c7c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.