Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bezoerb committed Jan 13, 2023
1 parent 04612bd commit 37c9c4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ describe('postcss-image-inliner', () => {
});

it('should trigger callback for large images', (done) => {
const largeFileCallback = (file) => {
return file.path.replace('http://localhost:3000/', 'https://cdn.example.com/');
};
const largeFileCallback = (file) => file.path.replace('http://localhost:3000/', 'https://cdn.example.com/');

test('big.css', 'big.modified.css', {maxFileSize: 1, largeFileCallback}, done);
});
Expand Down

0 comments on commit 37c9c4b

Please sign in to comment.