Files
Lucas Berger 982438dc10 style(13-03): apply Prettier formatting across repo
Mechanical reformat — no logic changes. 398 files changed, 19125
insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc
(singleQuote:true, semi:true, tabWidth:2, trailingComma:all,
printWidth:100). Isolated per D-13-08 for reviewability.
2026-06-11 20:35:18 -04:00

17 lines
667 B
TypeScript

/**
* Static test VAPID keypair fixture.
*
* Used by unit tests that need a VAPID key triple without generating keys at
* runtime or touching the network. These are test-only values — they are NOT
* the production keys and must never be used outside tests.
*
* The keypair was generated once with `crypto.subtle.generateKey` (P-256/ECDH)
* and inlined here so tests are deterministic and offline-safe.
*/
export const TEST_VAPID = {
publicKey:
'BIr9cwAc5L5ZBuY6RazVpjZfIzaAAY_dXDvaMOgM8_nGO8HSyr-WsEoxsmvhG9hWJDK-Mn07rjAFnr9S8fa2w48',
privateKey: 'IjVM8QjjFqDI9_-lhJDmG9yhPpgcrEtKmM-GP1DLiyc',
subject: 'mailto:test@familysync.test',
} as const;