17 lines
420 B
TypeScript
17 lines
420 B
TypeScript
import { TestBed } from '@angular/core/testing';
|
|
|
|
import { LoggingInterceptor } from './logging.interceptor';
|
|
|
|
describe('LoggingInterceptor', () => {
|
|
beforeEach(() =>
|
|
TestBed.configureTestingModule({
|
|
providers: [LoggingInterceptor],
|
|
})
|
|
);
|
|
|
|
it('should be created', () => {
|
|
const interceptor: LoggingInterceptor = TestBed.inject(LoggingInterceptor);
|
|
expect(interceptor).toBeTruthy();
|
|
});
|
|
});
|