-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
OS?
Ubuntu 16.04
Versions.
angular-cli: 1.0.0-beta.19-3
node: 4.6.0
os: linux x64
Repro steps.
Was this an app that wasn't created using the CLI? Yes
The log given by the failure.
› $ ng build --prod --environment=dev --aot
0% compiling
Cannot determine the module for class TestComponent in .../switch.component.spec.ts!
Cannot determine the module for class Test2Component in .../switch.component.spec.ts!
Cannot determine the module for class Test3Component in .../switch.component.spec.ts!
Mention any other details that might be useful.
I think it would be great to skip testing with AoT because Angular AoT compiler doesn't detect the test host components module. This class declaration is only configured in TestBed. For this reason AoT causes this exception.
Metadata
Metadata
Assignees
Labels
No labels