Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
remscodes committed May 16, 2024
1 parent 5c01047 commit 3967706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/api/test-beds/interceptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Works for function (`HttpInterceptorFn`) and class (that implements `HttpInterce
describe('appInterceptor', () => {
const tb = interceptorTestBed(appInterceptor());

it('should set custom header before send', tb(({ inspect, rx }) => {
it('should set custom header before send', tb(({ inspect, rx }, done) => {
const req = new HttpRequest('GET', '/test');
expect(req.headers.has('x-custom-header')).toBeFalse();

Expand All @@ -43,7 +43,7 @@ Works for function (`HttpInterceptorFn`) and class (that implements `HttpInterce
describe('AppInterceptor', () => {
const tb = interceptorTestBed(AppInterceptor);

it('should set custom header before send', tb(({ inspect, rx }) => {
it('should set custom header before send', tb(({ inspect, rx }, done) => {
const req = new HttpRequest('GET', '/test');
expect(req.headers.has('x-custom-header')).toBeFalse();

Expand Down

0 comments on commit 3967706

Please sign in to comment.