syncthing/next-gen-gui/src/app/http-interceptors/csrf.interceptor.spec.ts

17 lines
402 B
TypeScript
Raw Normal View History

2020-03-25 00:19:54 +01:00
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();
});
});