Skip to content

Unit tests process crashes #3074

Closed
@dahaupt

Description

@dahaupt

Bug, 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.

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions