Skip to content

Commit 2b7285c

Browse files
committed
CCM-8420: linting
1 parent cff3ff3 commit 2b7285c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

lambdas/backend-client/src/__tests__/backend-api-client.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ describe('BackendAPIClient', () => {
1515
});
1616

1717
test('should use passed in clients', async () => {
18-
const client = new BackendApiClient(
19-
'token',
20-
templatesApiMock,
21-
);
18+
const client = new BackendApiClient('token', templatesApiMock);
2219

2320
expect(client.templates).toBe(templatesApiMock);
2421
});

lambdas/backend-client/src/backend-api-client.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ import { ITemplateClient } from './types/template-client';
55
export class BackendApiClient implements IBackendClient {
66
public readonly templates: ITemplateClient;
77

8-
constructor(
9-
_token: string,
10-
templates?: ITemplateClient,
11-
) {
8+
constructor(_token: string, templates?: ITemplateClient) {
129
this.templates = templates || new TemplateApiClient(_token);
1310
}
1411
}

0 commit comments

Comments
 (0)