Description
The file src/__tests__/unit-tests/Presentation/presentationWrapper.spec.js contains an it.only() call which causes all other tests in the same describe block to be skipped during test runs.
Current Behavior
When running yarn test, the test output shows:
- 1 test passes: "Should Not Render PresentationHeader, Progress Bar if isFullScreen true"
- 4 tests are skipped in the same file
Expected Behavior
All tests in the file should run (unless explicitly marked with it.skip).
Location
File: src/__tests__/unit-tests/Presentation/presentationWrapper.spec.js
Line 43: it.only('Should Not Render PresentationHeader...')
Suggested Fix
Change it.only to it:
- it.only('Should Not Render PresentationHeader, Progress Bar if isFullScreen true', () => {
+ it('Should Not Render PresentationHeader, Progress Bar if isFullScreen true', () => {
Impact
This causes misleading test results, as skipped tests might be hiding real failures.
Description
The file
src/__tests__/unit-tests/Presentation/presentationWrapper.spec.jscontains anit.only()call which causes all other tests in the same describe block to be skipped during test runs.Current Behavior
When running
yarn test, the test output shows:Expected Behavior
All tests in the file should run (unless explicitly marked with
it.skip).Location
File:
src/__tests__/unit-tests/Presentation/presentationWrapper.spec.jsLine 43:
it.only('Should Not Render PresentationHeader...')Suggested Fix
Change
it.onlytoit:Impact
This causes misleading test results, as skipped tests might be hiding real failures.