X Tutup
Skip to content

PLATFORM_DIRECTIVES not defined in tests #5585

@alxhub

Description

@alxhub

createTestInjector uses bindings that are missing PLATFORM_DIRECTIVES.

This means that if a user defines a component that uses NgIf for example but doesn't specify an explicit dependency via @Component({directives}), it will work in the app but fail in tests.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup