Skip to content

User Register: API testid & Mocked API testid#36

Closed
MariannAdelbert wants to merge 2 commits into
tanjaq:mainfrom
MariannAdelbert:main
Closed

User Register: API testid & Mocked API testid#36
MariannAdelbert wants to merge 2 commits into
tanjaq:mainfrom
MariannAdelbert:main

Conversation

@MariannAdelbert
Copy link
Copy Markdown

Task 1:
Coverage: 100%
Time: 25.182 s

Task 2:
Coverage: 100%
Time: 0.579 s, estimated 1 s

The execution time of the mocked tests is significantly lower compared to the real API tests due to the removal of the artificial delay in email validation.

@github-actions
Copy link
Copy Markdown

API & Mocked Tests and Coverage

Purpose: Validate README requirements for regular tests, mocked email tests, coverage, and runtime comparison.
Status: ✅ PASS
Regular tests (app.test.js): ✅ PASS (25317ms)
Mocked tests (app.mock.test.js): ✅ PASS (1249ms)
Coverage gate (both runs at 100%): ✅ PASS
Runtime gate (regular ≥ mocked + 1500ms): ✅ PASS
Regular coverage (app.js): lines=100% | statements=100% | functions=100% | branches=100%
Mocked coverage (app.js only): lines=100% | statements=100% | functions=100% | branches=100%
Run details: https://github.com/tanjaq/User-Register/actions/runs/24310619367
PR checks: https://github.com/tanjaq/User-Register/pull/36/checks

@tanjaq tanjaq closed this Apr 21, 2026
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