Skip to content

Commit

Permalink
fix: test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Dec 30, 2024
1 parent 5eb2dfb commit 6b675b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions embed/jest.setup.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ process.env.SCROLL_BADGE_PROVIDER_INFO =
'{"DeveloperList#PassportCommiterLevel1#6a51c84c":{"contractAddress":"0x71A848A38fFCcA5c7A431F2BB411Ab632Fa0c456","level":1}}';
process.env.SCROLL_BADGE_ATTESTATION_SCHEMA_UID =
"0xa35b5470ebb301aa5d309a8ee6ea258cad680ea112c86e456d5f2254448afc74";
process.env.REDIS_URL = "redis://localhost:6379/0"
2 changes: 1 addition & 1 deletion embed/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if (!process.env.REDIS_URL) {

if (configErrors.length > 0) {
configErrors.forEach((error) => console.error(error)); // eslint-disable-line no-console
throw new Error("Missing required configuration");
throw new Error("Missing required configuration: " + configErrors.join(",\n"));
}

// create the app and run on port
Expand Down

0 comments on commit 6b675b9

Please sign in to comment.