Skip to content

Fix W2-B-061: Align env tests with new env validator contract - #943

Merged
likableai merged 1 commit into
Pi-Defi-world:devfrom
josephinejose-alt:fix/w2-b-061-env-tests
Sep 1, 2026
Merged

Fix W2-B-061: Align env tests with new env validator contract#943
likableai merged 1 commit into
Pi-Defi-world:devfrom
josephinejose-alt:fix/w2-b-061-env-tests

Conversation

@josephinejose-alt

Copy link
Copy Markdown
Contributor
  • jwt.clockskew.test.ts: Move env setup into beforeEach with jest.resetModules() to ensure env vars are set before env module loads
  • env.test.ts: Remove duplicate env var assignments and use delete for missing USDC issuer tests (validator checks for undefined, not empty strings)

closes #771

- jwt.clockskew.test.ts: Move env setup into beforeEach with jest.resetModules() to ensure env vars are set before env module loads
- env.test.ts: Remove duplicate env var assignments and use delete for missing USDC issuer tests (validator checks for undefined, not empty strings)
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@josephinejose-alt Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 36e532ba-b111-4e56-841e-7f864976b4ec


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@josephinejose-alt

Copy link
Copy Markdown
Contributor Author

@Junman140 please merge

@likableai
likableai merged commit 0673fad into Pi-Defi-world:dev Sep 1, 2026
10 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

W2-B-061 - tests/env.test.ts / tests/jwt.clockskew.test.ts fail

2 participants