MCPcopy Create free account
hub / github.com/cameri/nostream / verification

Function verification

test/unit/app/maintenance-worker.spec.ts:109–120  ·  view source on GitHub ↗
(overrides: Partial<Nip05Verification> = {})

Source from the content-addressed store, hash-verified

107 })
108
109 const verification = (overrides: Partial<Nip05Verification> = {}): Nip05Verification => ({
110 pubkey: 'a'.repeat(64),
111 nip05: 'alice@example.com',
112 domain: 'example.com',
113 isVerified: true,
114 lastVerifiedAt: new Date(Date.now() - 100000000),
115 lastCheckedAt: new Date(Date.now() - 100000000),
116 failureCount: 0,
117 createdAt: new Date(),
118 updatedAt: new Date(),
119 ...overrides,
120 })
121
122 describe('constructor', () => {
123 it('registers SIGINT, SIGHUP, and SIGTERM handlers', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected