The Karma test suite fails with the message:
Disconnected, because no message in 10000 ms.
No tests are executed at all.
"@angular/core": "7.1.3",
"jasmine-core": "3.3.0",
"karma-jasmine": "1.1.2",
There is no apparent reason for the failure, it just started after a new test was introduced.
import CustomerTypeEnum = CustomerDto.CustomerTypeEnum;
is not an import at all. It is a syntax for aliasing a member of a TypeScript namespace. Such namespaces can exist in both the value space and the types space. SinceCustomerTypeEnum
is a value as well as a type, a variable assignment is emitted by the compiler with an initializer referencing a property of an object it isn't defined yet. This depends to some extent on your output module format. Look at the actual compiled code and you'll see exactly what is happening and why. – Sekofski