Skip to content

Commit

Permalink
Remove useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
alep85 committed Sep 17, 2024
1 parent 5b0c0af commit c3f5006
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,11 @@ describe('CustomAuthStorageService', () => {

beforeEach(() => {
TestBed.configureTestingModule({
providers: [
CustomAuthStorageService,
{ provide: CUSTOM_AUTH_STORAGE_PREFIX, useValue: of('custom-prefix') }
]
providers: [CustomAuthStorageService, { provide: CUSTOM_AUTH_STORAGE_PREFIX, useValue: of('custom-prefix') }]
});
service = TestBed.inject(CustomAuthStorageService);
});

it('should be created', () => {
expect(service).toBeTruthy();
});

it('should set the prefix from the observable', () => {
const expectedPrefix = 'custom-prefix_';
expect(service.prefix).toBe(expectedPrefix);
Expand Down

0 comments on commit c3f5006

Please sign in to comment.