Skip to content

Error after Running ng test command #1

Description

@garydev10

@tienbku Can I fix the error?
I will make the project create Services and Components successfully after ng test.

I got the below error after running ng test command

✔ Browser application bundle generation complete.
Error: src/app/app.component.spec.ts:20:16 - error TS2339: Property 'title' does not exist on type 'AppComponent'.
20     expect(app.title).toEqual('angular-16-jwt-auth');
                  ~~~~~
11 06 2023 14:38:40.310:WARN [karma]: No captured browser, open http://localhost:9876/
11 06 2023 14:38:40.346:INFO [karma-server]: Karma v6.4.2 server started at http://localhost:9876/
11 06 2023 14:38:40.347:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
11 06 2023 14:38:40.354:INFO [launcher]: Starting browser Chrome
11 06 2023 14:38:41.133:INFO [Chrome 114.0.0.0 (Windows 10)]: Connected on socket FLEaxuA6E6Kr_7HNAAAB with id 1293018
11 06 2023 14:38:41.229:WARN [web-server]: 404: /_karma_webpack_/main.js
Chrome 114.0.0.0 (Windows 10): Executed 0 of 0 SUCCESS (0.003 secs / 0 secs)
TOTAL: 0 SUCCESS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions