From bb9f2a9ec25bb5cf17ecb3e0d4b093e2cecf447e Mon Sep 17 00:00:00 2001 From: marcogagliardi <marco.gagliardi@justice.gov.uk> Date: Wed, 4 Dec 2024 07:49:06 +0000 Subject: [PATCH] Update justice-users.service.spec.ts --- .../src/app/services/justice-users.service.spec.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/AdminWebsite/AdminWebsite/ClientApp/src/app/services/justice-users.service.spec.ts b/AdminWebsite/AdminWebsite/ClientApp/src/app/services/justice-users.service.spec.ts index a17094ca6..258043c90 100644 --- a/AdminWebsite/AdminWebsite/ClientApp/src/app/services/justice-users.service.spec.ts +++ b/AdminWebsite/AdminWebsite/ClientApp/src/app/services/justice-users.service.spec.ts @@ -135,13 +135,10 @@ describe('JusticeUsersService', () => { }); describe('clearUsers', () => { - it('should clear the search term', (done: DoneFn) => { + fit('should clear the search term', (done: DoneFn) => { // arrange clientApiSpy.getUserList.and.returnValue(of([])); - - // act - service.clearUsers(); - + // assert service.filteredUsers$.subscribe(users => { expect(users).toEqual([]);