@@ -1,16 +1,16 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { TestBed } from '@angular/core/testing'
|
||||
|
||||
import { CsrfInterceptor } from './csrf.interceptor';
|
||||
import { CsrfInterceptor } from './csrf.interceptor'
|
||||
|
||||
describe('CsrfInterceptor', () => {
|
||||
beforeEach(() => TestBed.configureTestingModule({
|
||||
providers: [
|
||||
CsrfInterceptor
|
||||
]
|
||||
}));
|
||||
beforeEach(() =>
|
||||
TestBed.configureTestingModule({
|
||||
providers: [CsrfInterceptor],
|
||||
})
|
||||
)
|
||||
|
||||
it('should be created', () => {
|
||||
const interceptor: CsrfInterceptor = TestBed.inject(CsrfInterceptor);
|
||||
expect(interceptor).toBeTruthy();
|
||||
});
|
||||
});
|
||||
const interceptor: CsrfInterceptor = TestBed.inject(CsrfInterceptor)
|
||||
expect(interceptor).toBeTruthy()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user