Unit tests process crashes
See original GitHub issueBug, feature request, or proposal:
Bug
What is the expected behavior?
The unit tests should work on master branch.
What is the current behavior?
The process fails in step :build:components:spec
with:
node_modules/@types/jasmine/index.d.ts(39,38): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
node_modules/@types/jasmine/index.d.ts(39,46): error TS2304: Cannot find name 'keyof'.
node_modules/@types/jasmine/index.d.ts(39,52): error TS1005: '=' expected.
What are the steps to reproduce?
Run gulp test
on the master branch.
Which versions of Angular, Material, OS, browsers are affected?
Latest Version of Material, Windows 10, Angular 2.4.7
Is there anything else we should know?
I’m no expert in unit tests, but simply starting them on a new cloned repository should work (e2e tests are working fine). It could be possible too, that this is just a problem on my system, because otherwise someone would have already noticed this.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Does Unit-Tested Code Crash? A Case Study of Eclipse
Conclusion:Unit testing on its own may not be a sufficient method for preventing program failures. CCS Concepts: • Software and its engineering →...
Read more >Visual Studio 2019 Live Unit Testing Crashes - Stack Overflow
I'm trying to use Live Unit Testing with my nUnit tests, but it crashes every time I start it. It crashes whether I...
Read more >Visual Studio 2019 Crashes When Trying To Run Unit Tests
3, building my solution and trying to run unit tests VS 2019 crashes. Tests work fine in VS 2017. I tried running a...
Read more >Does Unit-Tested Code Crash? A Case Study of Eclipse - arXiv
Conclusion: Unit testing on its own may not be a sufficient method ... Unit-testing, crash incident reports, code coverage, stack traces,.
Read more >Crash at the end of python unit test run, test never finishing
I create a blank project with only one unit test. import unit test class MyTests(): def test_thing(): ... Ready to process crash requests...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Solved this by reducing the @types/jasmine to 2.5.38
Sent from my iPhone
Okay, just blew away my node modules and started from scratch. Also getting the error now.