From c1a9f07ea1d67be7ff327a59363faf417bf9c409 Mon Sep 17 00:00:00 2001 From: Sam Severance Date: Tue, 1 Jun 2021 20:26:25 -0400 Subject: [PATCH] docs: refactor `WelcomeComponent` unit test (#42441) PR Close #42441 --- .../examples/testing/src/app/welcome/welcome.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/examples/testing/src/app/welcome/welcome.component.spec.ts b/aio/content/examples/testing/src/app/welcome/welcome.component.spec.ts index e12e61c265..8504215b96 100644 --- a/aio/content/examples/testing/src/app/welcome/welcome.component.spec.ts +++ b/aio/content/examples/testing/src/app/welcome/welcome.component.spec.ts @@ -130,6 +130,6 @@ describe('WelcomeComponent', () => { })); it('TestBed and Component UserService should be the same', () => { - expect(userService === componentUserService).toBe(true); + expect(userService).toBe(componentUserService); }); });