(overrides: Partial<Nip05Verification> = {})
| 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', () => { |
no outgoing calls
no test coverage detected