This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Definition of jasmine expect not resolved correctly #285
Open
Description
Expected (tsserver):
Actual:
Which means j2d on toHaveBeenCalled
fails.
Investigation notes:
- the definition resolved by tsserver is
/aio/aio-builds-setup/dockerbuild/scripts-js/node_modules/@types/jasmine/index.d.ts
- that file is available in InMemoryFileSystem and added to the InMemoryLanguageServiceHost (in
filePath
andexpectedFilePaths
) - I put all logging on verbose (traceModuleResolution etc),
jasmine
doesn't even appear in the logs - It works sometimes, but very rarely