Skip to content

Add unit tests for src/index.js#125

Merged
levibliz merged 2 commits into
RiftCore00:mainfrom
levoski1:issue-1-index-unit-tests
Jun 13, 2026
Merged

Add unit tests for src/index.js#125
levibliz merged 2 commits into
RiftCore00:mainfrom
levoski1:issue-1-index-unit-tests

Conversation

@levoski1

Copy link
Copy Markdown
Contributor

Closes #1

  • Extracts parseConfig and shutdown as named exports from src/index.js to enable unit testing
  • Adds tests/index.test.js covering config defaults, env var overrides, integer types, graceful shutdown (exit 0), and forced shutdown timeout (exit 1)

@levibliz
levibliz merged commit a6f6116 into RiftCore00:main Jun 13, 2026
0 of 3 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.

2 participants