Skip to content

Commit

Permalink
test(zimic-test-client): expect correct default property type
Browse files Browse the repository at this point in the history
  • Loading branch information
diego-aquino committed Nov 10, 2024
1 parent 4312dbe commit 374188e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/zimic-test-client/tests/exports/exports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ describe('Exports', () => {
expect(typeof httpInterceptor.create).toBe('function');

expectTypeOf(httpInterceptor.default).toEqualTypeOf<Readonly<HttpInterceptorNamespace['default']>>();
expect(typeof httpInterceptor.default.local.onUnhandledRequest).toBe('function');
expect(typeof httpInterceptor.default.remote.onUnhandledRequest).toBe('function');
expect(typeof httpInterceptor.default.local.onUnhandledRequest).toBe('object');
expect(typeof httpInterceptor.default.remote.onUnhandledRequest).toBe('object');

expectTypeOf<UnhandledRequestStrategy>().not.toBeAny();
expectTypeOf<UnhandledRequestStrategy.Action>().not.toBeAny();
Expand Down

0 comments on commit 374188e

Please sign in to comment.