Projektstart

This commit is contained in:
2026-01-22 15:49:12 +01:00
parent 7212eb6f7a
commit 57e5f652f8
10637 changed files with 2598792 additions and 64 deletions

19
backend/node_modules/fastify/test/noop-set.test.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
'use strict'
const tap = require('tap')
const noopSet = require('../lib/noop-set')
tap.test('does a lot of nothing', async t => {
const aSet = noopSet()
t.type(aSet, 'object')
const item = {}
aSet.add(item)
aSet.add({ another: 'item' })
aSet.delete(item)
t.equal(aSet.has(item), true)
for (const i of aSet) {
t.fail('should not have any items', i)
}
})