Skip to content

support jest 27 #2918

@Tallyb

Description

@Tallyb

Stencil version:

 @stencil/core@2.5.2

I'm submitting a:

[ ] bug report
[X] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:
Tests are working with jest 26.
You cannot upgrade to jest 27 since you get jasmine is not defined.
Setting up testRunner: 'jest-jasmine2' in the configuration to retain old jasmine does not help either and throws Cannot read property 'rootDir' of undefined.

Expected behavior:
For the upcoming stencil 2.6, would it be possible to support jest 27?

Steps to reproduce:
Upgrade jest and jest-cli to 27. Try running tests.

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