Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed Aug 21, 2023
1 parent 109ca0e commit 48ad14b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/__tests__/RESTDataSource.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ describe('RESTDataSource', () => {
class AuthedDataSource extends RESTDataSource {
override baseURL = 'https://api.example.com';

constructor(private token: string, config?: DataSourceConfig) {
constructor(
private token: string,
config?: DataSourceConfig,
) {
super(config);
}

Expand Down Expand Up @@ -258,7 +261,10 @@ describe('RESTDataSource', () => {
class AuthedDataSource extends RESTDataSource {
override baseURL = 'https://api.example.com';

constructor(private token: string, config?: DataSourceConfig) {
constructor(
private token: string,
config?: DataSourceConfig,
) {
super(config);
}

Expand Down Expand Up @@ -2215,7 +2221,7 @@ describe('RESTDataSource', () => {
try {
await dataSource.getFoo();
} catch {}

expect((urlFromDidEncounterError as any).toString()).toMatch(
'https://api.example.com/foo',
);
Expand Down

0 comments on commit 48ad14b

Please sign in to comment.