ci: fix lint and tau rpc typing
parent
4e20a20927
commit
96722bba08
|
|
@ -31,7 +31,7 @@ describe("media store redirects", () => {
|
||||||
|
|
||||||
it("follows redirects and keeps detected mime/extension", async () => {
|
it("follows redirects and keeps detected mime/extension", async () => {
|
||||||
let call = 0;
|
let call = 0;
|
||||||
mockRequest.mockImplementation((url, _opts, cb) => {
|
mockRequest.mockImplementation((_url, _opts, cb) => {
|
||||||
call += 1;
|
call += 1;
|
||||||
const res = new PassThrough();
|
const res = new PassThrough();
|
||||||
const req = {
|
const req = {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,13 @@ type TauRpcOptions = {
|
||||||
timeoutMs: number;
|
timeoutMs: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
type TauRpcResult = { stdout: string; stderr: string; code: number };
|
type TauRpcResult = {
|
||||||
|
stdout: string;
|
||||||
|
stderr: string;
|
||||||
|
code: number;
|
||||||
|
signal?: NodeJS.Signals | null;
|
||||||
|
killed?: boolean;
|
||||||
|
};
|
||||||
|
|
||||||
class TauRpcClient {
|
class TauRpcClient {
|
||||||
private child: ChildProcessWithoutNullStreams | null = null;
|
private child: ChildProcessWithoutNullStreams | null = null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue