paperless-ngx/src-ui/src/app/interceptors/csrf.interceptor.spec.ts
2022-03-11 11:58:19 -08:00

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()
})
})