Skip to content

Default generated app should not fail ng test #11003

@johnpapa

Description

@johnpapa

Versions


Angular CLI: 6.0.3
Node: 8.11.1
OS: darwin x64
Angular: 6.0.3
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.3
@angular-devkit/build-angular     0.6.3
@angular-devkit/build-optimizer   0.6.3
@angular-devkit/core              0.6.3
@angular-devkit/schematics        0.6.3
@ngtools/webpack                  6.0.3
@schematics/angular               0.6.3
@schematics/update                0.6.3
rxjs                              6.2.0
typescript                        2.7.2
webpack                           4.8.3
    

Repro steps

ng new my-dream-app
cd my-dream-app
ng test

Observed behavior

AppComponent should render title in a h1 tag FAILED
	Expected ' Welcome to app! ' to contain 'Welcome to my-dream-app!'.
	    at UserContext.<anonymous> src/app/app.component.spec.ts:25:54)

Desired behavior

By default the generated app should not error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions