From 1b0acc83e08b74988f69ce68c53cfa48efc8411b Mon Sep 17 00:00:00 2001 From: Oli Sturm Date: Mon, 27 Apr 2026 13:23:10 +0100 Subject: [PATCH] add error testing comment --- js-fp3/infrastructure/repository.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js-fp3/infrastructure/repository.js b/js-fp3/infrastructure/repository.js index d734502..3333626 100644 --- a/js-fp3/infrastructure/repository.js +++ b/js-fp3/infrastructure/repository.js @@ -34,5 +34,7 @@ export const createInMemoryRepository = () => { ); }; + // What if something goes wrong? + // throw new Error('Repository creation failed for external reasons'); return { loadAccount: getById, saveAccount: save }; };