Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
swellmike committed Sep 19, 2024
1 parent d727fe2 commit e584035
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ const config: Config = {
restoreMocks: true,
testEnvironment: 'node',
transform: {
'^.+\\.ts$': [
'ts-jest',
{ diagnostics: { ignoreCodes: ['TS151001'] } }
],
'^.+\\.ts$': ['ts-jest', { diagnostics: { ignoreCodes: ['TS151001'] } }],
},
};

Expand Down
4 changes: 3 additions & 1 deletion src/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ describe('Client', () => {
const client = new Client('id', 'key');

mock.onGet('/products/:count').reply((config) => {
const headers = Object.fromEntries(Object.entries(config.headers || {}));
const headers = Object.fromEntries(
Object.entries(config.headers || {}),
);
return [200, headers['X-Foo']];
});

Expand Down

0 comments on commit e584035

Please sign in to comment.