Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Fix tests (#2469)
Leendert de Borst83e42263cc16
diff --git a/apps/web/tests/helpers/vault-tamper.ts b/apps/web/tests/helpers/vault-tamper.tsindex 8080d4284..049906527 100644--- a/apps/web/tests/helpers/vault-tamper.ts+++ b/apps/web/tests/helpers/vault-tamper.ts@@ -95,8 +95,8 @@ async function writePersonalManifest(apiUrl: string, user: TestUser, blob: strinemailRouting: null,}),});- const result = response.ok ? (await response.json()) as { status: number } : null;- if (!result || result.status !== 0) {+ const result = response.ok ? (await response.json()) as { status: string } : null;+ if (!result || result.status !== 'ok') {throw new Error(`POST /v2/Vault did not accept the manifest (HTTP ${response.status}, status ${result?.status}).`);}}