mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
17 lines
395 B
TypeScript
17 lines
395 B
TypeScript
import { TestBed } from '@angular/core/testing'
|
|
|
|
import { CsrfInterceptor } from './csrf.interceptor'
|
|
|
|
describe('CsrfInterceptor', () => {
|
|
beforeEach(() =>
|
|
TestBed.configureTestingModule({
|
|
providers: [CsrfInterceptor],
|
|
})
|
|
)
|
|
|
|
it('should be created', () => {
|
|
const interceptor: CsrfInterceptor = TestBed.inject(CsrfInterceptor)
|
|
expect(interceptor).toBeTruthy()
|
|
})
|
|
})
|