From 0f703833f7b4cc8064de39874fe55aff96ab0a57 Mon Sep 17 00:00:00 2001 From: Pine Wu Date: Wed, 22 May 2019 18:01:45 -0700 Subject: [PATCH] Drop sleep --- helloworld-test-sample/test/runTest.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/helloworld-test-sample/test/runTest.ts b/helloworld-test-sample/test/runTest.ts index 9e22eae1..d282c406 100644 --- a/helloworld-test-sample/test/runTest.ts +++ b/helloworld-test-sample/test/runTest.ts @@ -16,15 +16,10 @@ async function go() { testRunnerPath, testWorkspace }) - await sleep(10000) } catch (err) { console.error('Failed to run tests') process.exit(1) } } -go() - -export function sleep(ms: number) { - return new Promise(resolve => setTimeout(resolve, ms)); -} +go() \ No newline at end of file