Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after Running ng test command #1

Open
garydev10 opened this issue Jun 11, 2023 · 0 comments
Open

Error after Running ng test command #1

garydev10 opened this issue Jun 11, 2023 · 0 comments

Comments

@garydev10
Copy link

garydev10 commented Jun 11, 2023

@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
garydev10 referenced this issue in garydev10/angular-16-jwt-auth Jun 11, 2023
@garydev10 garydev10 changed the title Error after Running npm test or ng test command Error after Running ng test command Jun 11, 2023
garydev10 referenced this issue in garydev10/angular-16-jwt-auth Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant