Skip to content

test(config): spec for configuration.ts env-parsing - #676

Closed
yggdrasilworld wants to merge 3 commits into
MergeFi:mainfrom
yggdrasilworld:spec/configuration-601
Closed

yggdrasilworld wants to merge 3 commits into
MergeFi:mainfrom
yggdrasilworld:spec/configuration-601

Conversation

@yggdrasilworld

@yggdrasilworld yggdrasilworld commented Oct 14, 2026 •

Copy link
Copy Markdown

What

Spec for configuration.ts — the env-parsing, defaults, strict-boolean handling, and the MAINTENANCE_POOL_CONTRACT_ID → ESCROW_CONTRACT_ID fallback.

Resolves #601

Payment: Base USDC 0xD40Df5c27cEa7dd78A3c345401995c319589334e

Covers the defaults, integer parsing, strict-boolean parsing, and the
MAINTENANCE_POOL_CONTRACT_ID -> ESCROW_CONTRACT_ID fallback.

Resolves MergeFi#601
@vercel

vercel Bot commented Oct 14, 2026

Copy link
Copy Markdown

@yggdrasilworld is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

Jest sets NODE_ENV=test; the spec restored it via the ORIG spread so
configuration() returned 'test', not the 'development' default.
The shared base carried half-written merge artifacts: an orphaned
invokeOnLockedEscrow block in escrow.service.ts, duplicated returns plus
a dead parsePagination in sponsors.controller.ts, and missing
describe/it closers in github-webhooks.service.spec.ts. Aligned each
with the intended form so the branch typechecks and its specs load.
@yggdrasilworld
yggdrasilworld deleted the spec/configuration-601 branch October 19, 2026 02:33
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.

config/configuration.ts has no spec file

1 participant