Co-authored-by: Goffert van Gool <ruphin@ruphin.net> Co-authored-by: Martin Pool <martin.pool@ing.com>
16 lines
597 B
JavaScript
16 lines
597 B
JavaScript
import { expect } from '@open-wc/testing';
|
|
import * as interceptors from '../../src/interceptors/index.js';
|
|
|
|
describe('interceptors interface', () => {
|
|
it('exposes the acceptLanguageRequestInterceptor function', () => {
|
|
expect(interceptors.acceptLanguageRequestInterceptor).to.be.a('Function');
|
|
});
|
|
|
|
it('exposes the createXsrfRequestInterceptor function', () => {
|
|
expect(interceptors.createXsrfRequestInterceptor).to.be.a('Function');
|
|
});
|
|
|
|
it('exposes the createCacheInterceptors function', () => {
|
|
expect(interceptors.createCacheInterceptors).to.be.a('Function');
|
|
});
|
|
});
|