question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

🐛 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 https://github.com/kulshekhar/ts-jest/issues/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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
TheDutchCodercommented, May 7, 2020

Ah thanks, that alpha version works for me!

Feel free to close this issue if you think that’s appropriate.

0reactions
ahnpnlcommented, May 9, 2020

25.5.1 is out

Read more comments on GitHub >

github_iconTop Results From Across the Web

fix(config): don't set include property value of tsconfig to empty array ...
Successfully merging this pull request may close these issues. Upgrading from v25.4.0 to v25.5.0 breaks custom types Custom function ...
Read more >
Migration from CKEditor 4 - CKEditor 5 Documentation
There is no “drop in” solution for migrating. In this guide we hope ... Unlike CKEditor 4, CKEditor 5 implements a custom data...
Read more >
Release Notes - Helpshift for Android - Developer Guide
Fixed a crash that would occur when using Android support library v25.4.0. Fixed a crash that would occur when generating a signature for...
Read more >
CORE Design System - Procore
BREAKING CHANGES. width 1440 is now xl, not lg. Deprecations|. chore: update spacing for detail page section header actions. affects: @procore/core-css.
Read more >
Access Server Release Notes - OpenVPN
When upgrading from version 2.7.5 in a cluster, please reset admin_c password ... Released bundled clients package v25 with Connect v3.3.6.4368 for macOS....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found