Skip to content

it.only in presentationWrapper.spec.js skips other tests #104

@zubeyralmaho

Description

@zubeyralmaho

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.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions