•  
      request #25005 JS unit tests of the TestPlan plugin fail when running with coverage
    Infos
    #25005
    Thomas Gerbet (tgerbet)
    2022-01-13 14:32
    2022-01-13 09:12
    26537
    Details
    JS unit tests of the TestPlan plugin fail when running with coverage

    When collecting coverage the test suite fail because an explicit import of a type is missing:

    @tuleap/plugin-testplan:test: Failed to collect coverage from /tmp/jenkins-1843397a/workspace/TuleapNightlyTests/sources/plugins/testplan/scripts/test-plan/src/store/campaign/type.ts
    @tuleap/plugin-testplan:test: ERROR: scripts/test-plan/src/store/campaign/type.ts:31:29 - error TS2304: Cannot find name 'CampaignInitialTests'.
    @tuleap/plugin-testplan:test: 31     readonly initial_tests: CampaignInitialTests;
    @tuleap/plugin-testplan:test:                                ~~~~~~~~~~~~~~~~~~~~
    
    
    Other
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2022-01-13
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    Integrated into Tuleap 13.4.99.62


    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2022-01-13