Skip to content

Upgrading from v25.4.0 to v25.5.0 breaks custom types #1608

@TheDutchCoder

Description

@TheDutchCoder

🐛 Bug Report

After upgrading to 25.5.0, any of my modules that use custom interfaces/types stored in types.ts in the root are no longer found.

Probably related to #1604 but not exclusive to Vue files.

Downgrading to 25.4.0 makes it work again.

To Reproduce

Steps to reproduce the behavior:

  • Use a custom types file with a custom interface
  • Use the interface in a module
  • Run a test on it

Expected behavior

Custom types to work

envinfo

System:
    OS: Mac OS Mojave

Npm packages:
    jest: 25.5.4
    ts-jest: 25.5.0
    typescript: 3.8.3
    babel(optional): 7.9.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions