grpc-js: fix lint

This commit makes the linter pass again.
This commit is contained in:
cjihrig 2019-06-20 14:32:56 -04:00
parent 0b4fd1365a
commit 4399131bf9
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
2 changed files with 2 additions and 6 deletions

View File

@ -138,9 +138,7 @@ class UnknownHandler extends CompressionHandler {
compressMessage(message: Buffer): Promise<Buffer> {
return Promise.reject<Buffer>(
new Error(
`Received message compressed wth unsupported compression method ${
this.compressionName
}`
`Received message compressed wth unsupported compression method ${this.compressionName}`
)
);
}

View File

@ -269,9 +269,7 @@ describe('CallStream', () => {
frameLengths: range(0, 20).map(() => 1),
},
].forEach((testCase: { description: string; frameLengths: number[] }) => {
it(`should handle a short message where ${
testCase.description
}`, done => {
it(`should handle a short message where ${testCase.description}`, done => {
const callStream = new Http2CallStream(
'foo',
{} as Http2Channel,