mirror of https://github.com/grpc/grpc-node.git
grpc-js: fix lint
This commit makes the linter pass again.
This commit is contained in:
parent
0b4fd1365a
commit
4399131bf9
|
|
@ -138,9 +138,7 @@ class UnknownHandler extends CompressionHandler {
|
||||||
compressMessage(message: Buffer): Promise<Buffer> {
|
compressMessage(message: Buffer): Promise<Buffer> {
|
||||||
return Promise.reject<Buffer>(
|
return Promise.reject<Buffer>(
|
||||||
new Error(
|
new Error(
|
||||||
`Received message compressed wth unsupported compression method ${
|
`Received message compressed wth unsupported compression method ${this.compressionName}`
|
||||||
this.compressionName
|
|
||||||
}`
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -269,9 +269,7 @@ describe('CallStream', () => {
|
||||||
frameLengths: range(0, 20).map(() => 1),
|
frameLengths: range(0, 20).map(() => 1),
|
||||||
},
|
},
|
||||||
].forEach((testCase: { description: string; frameLengths: number[] }) => {
|
].forEach((testCase: { description: string; frameLengths: number[] }) => {
|
||||||
it(`should handle a short message where ${
|
it(`should handle a short message where ${testCase.description}`, done => {
|
||||||
testCase.description
|
|
||||||
}`, done => {
|
|
||||||
const callStream = new Http2CallStream(
|
const callStream = new Http2CallStream(
|
||||||
'foo',
|
'foo',
|
||||||
{} as Http2Channel,
|
{} as Http2Channel,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue