Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick committed Aug 19, 2022
1 parent a1f3f5a commit 0134a13
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ describe('RESTDataSource', () => {

describe('http cache', () => {
it('allows setting cache options for each request', async () => {
const dataSource = new class extends RESTDataSource {
const dataSource = new (class extends RESTDataSource {
override baseURL = 'https://api.example.com';
override requestCacheEnabled = false;

Expand All @@ -820,7 +820,7 @@ describe('RESTDataSource', () => {
ttl: 1000000,
};
}
}();
})();

dataSource.httpCache = httpCache;

Expand All @@ -835,7 +835,7 @@ describe('RESTDataSource', () => {
});

it('allows setting a short TTL for the cache', async () => {
const dataSource = new class extends RESTDataSource {
const dataSource = new (class extends RESTDataSource {
override baseURL = 'https://api.example.com';
override requestCacheEnabled = false;

Expand All @@ -849,7 +849,7 @@ describe('RESTDataSource', () => {
ttl: 1,
};
}
}();
})();

dataSource.httpCache = httpCache;

Expand Down

0 comments on commit 0134a13

Please sign in to comment.