Tickets: Zeit-Spalte (Bloecke, 3 parallel, 200 Zeilen), Ticket-Suche per woid oder ID, Anfrage-Zaehler
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9fec381056
commit
0b53fc825a
6 files changed
+201
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import test from 'node:test'
|
||||
import assert from 'node:assert/strict'
|
||||
import { loadModule } from './load.mjs'
|
||||
|
||||
const { createRequestGuard } = await loadModule('src/lib/requestGuard.js')
|
||||
test('nur die jüngste Anfrage gilt', () => {
|
||||
const g = createRequestGuard()
|
||||
const a = g.next(); const b = g.next()
|
||||
assert.equal(g.isCurrent(a), false)
|
||||
assert.equal(g.isCurrent(b), true)
|
||||
})
|
||||
Reference in new issue
Block a user