Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run server and run yarn run v1.22.19 $ jest psi.test.ts -t 'testing expected server response' console.error Error fetching data: FetchError { message: 'request to http://localhost:18080/breachedPasswords failed, reason: connect ECONNREFUSED 127.0.0.1:18080', type: 'system', errno: 'ECONNREFUSED', code: 'ECONNREFUSED' } 79 | } 80 | } catch (error) { > 81 | console.error("Error fetching data:", error); | ^ 82 | return { status: "error" }; 83 | } 84 | } at app/psi.ts:81:17 at step (app/psi.ts:33:23) at Object.throw (app/psi.ts:14:53) at rejected (app/psi.ts:6:65) console.error Error fetching data: FetchError { message: 'request to http://localhost:18080/breachedPasswords failed, reason: connect ECONNREFUSED 127.0.0.1:18080', type: 'system', errno: 'ECONNREFUSED', code: 'ECONNREFUSED' } 79 | } 80 | } catch (error) { > 81 | console.error("Error fetching data:", error); | ^ 82 | return { status: "error" }; 83 | } 84 | } at app/psi.ts:81:17 at step (app/psi.ts:33:23) at Object.throw (app/psi.ts:14:53) at rejected (app/psi.ts:6:65) info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. from frontend
- Loading branch information