Skip to content

Commit

Permalink
Linting fix for RESTDataSource.test.ts.
Browse files Browse the repository at this point in the history
  • Loading branch information
abernix committed Apr 30, 2019
1 parent 5ae29cf commit a97ff7e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,13 +475,13 @@ describe('RESTDataSource', () => {
});

it('returns data as a string when response status code is 204 no content', async () => {
const dataSource = new class extends RESTDataSource {
const dataSource = new (class extends RESTDataSource {
baseURL = 'https://api.example.com';

getFoo() {
return this.get('');
}
}();
})();

dataSource.httpCache = httpCache;

Expand Down

0 comments on commit a97ff7e

Please sign in to comment.