Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Feb 6, 2020
1 parent e6991d7 commit 84336be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 3 additions & 1 deletion system-test/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2267,7 +2267,9 @@ describe('storage', () => {
.pipe(fs.createWriteStream(tmpFilePath))
.on('error', done)
.on('response', (err, body, raw) => {
assert.strictEqual(raw.toJSON().headers['content-encoding'], undefined);
assert.strictEqual(
raw.toJSON().headers['content-encoding'],
undefined);
})
.on('finish', () => {
file.delete(done);
Expand Down
7 changes: 2 additions & 5 deletions test/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ describe('File', () => {

describe('validation', () => {
const data = 'test';
let fakeValidationStream: stream.Stream & {'test': Function};
let fakeValidationStream: stream.Stream & {test: Function};

beforeEach(() => {
file.metadata.mediaLink = 'http://uri';
Expand All @@ -1306,10 +1306,7 @@ describe('File', () => {
callback();
};

fakeValidationStream = Object.assign(
through(),
{test: () => true},
);
fakeValidationStream = Object.assign(through(), {test: () => true});
hashStreamValidationOverride = () => {
return fakeValidationStream;
};
Expand Down

0 comments on commit 84336be

Please sign in to comment.