From 73a7bbd7cc30940d46462ae4fe10d4cc657e6fe3 Mon Sep 17 00:00:00 2001 From: Shin'ya UEOKA Date: Sat, 2 Jan 2021 09:44:30 +0000 Subject: Change return type of e2e test lib --- e2e/lib/clipboard.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/lib/clipboard.ts b/e2e/lib/clipboard.ts index 6cc94cb..46da0b8 100644 --- a/e2e/lib/clipboard.ts +++ b/e2e/lib/clipboard.ts @@ -20,7 +20,7 @@ const readLinux = (): Promise => { }); }; -const writeLinux = (data: string): Promise => { +const writeLinux = (data: string): Promise => { let stderr = ""; return new Promise((resolve) => { const xsel = spawn("xsel", ["--clipboard", "--input"]); @@ -58,7 +58,7 @@ const readDarwin = (): Promise => { }); }; -const writeDarwin = (data: string): Promise => { +const writeDarwin = (data: string): Promise => { let stderr = ""; return new Promise((resolve) => { const pbcopy = spawn("pbcopy"); -- cgit v1.2.3