Skip to content

Commit

Permalink
More testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Praca authored and buttilda committed Apr 6, 2023
1 parent 0effeaa commit 03cd43a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/fetch-adapter/fetch-adapter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ describe('fetch adapter', () => {
const response = await apiClient.get();

expect(response.status).toBe(200);
expect(response.value.value).toBe('done');

expect(receivedContext).toBeDefined();
expect(receivedContext.method).toEqual('get');
Expand All @@ -87,6 +88,7 @@ describe('fetch adapter', () => {
});

expect(response.status).toBe(200);
expect(response.value.value).toBe('done');

expect(receivedContext).toBeDefined();
expect(receivedContext.method).toEqual('get');
Expand All @@ -102,6 +104,7 @@ describe('fetch adapter', () => {
});

expect(response.status).toBe(200);
expect(response.value.value).toBe('done');

expect(receivedContext).toBeDefined();
expect(receivedContext.method).toEqual('get');
Expand All @@ -119,6 +122,7 @@ describe('fetch adapter', () => {
});

expect(response.status).toBe(200);
expect(response.value.value).toBe('done');

expect(receivedContext).toBeDefined();
expect(receivedContext.method).toEqual('post');
Expand Down

0 comments on commit 03cd43a

Please sign in to comment.