In 23.x version when I load the package by import syntax, it will be undefined.
e.g.
import Vue from 'vue';
// `Vue` to be `undefined`
But this is not occurred in 22.4.3.
# content of debug.txt :
@tanakaworld this is most likely because you're missing the esModuleInterop: true in your tsconfig.json. See https://github.com/kulshekhar/ts-jest/wiki/Troubleshooting#commonjs-compatibility.
You can also try the latest beta if you feel like it (see #697).
Re-open in case that doesn't fix your issue.
fixed by esModuleInterop: true in tsconfig.json
Thanks!
Most helpful comment
fixed by
esModuleInterop: truein tsconfig.jsonThanks!