about summary refs log tree commit diff
path: root/__e2e__/util.ts
diff options
context:
space:
mode:
Diffstat (limited to '__e2e__/util.ts')
-rw-r--r--__e2e__/util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/__e2e__/util.ts b/__e2e__/util.ts
index c5668d042..8c47406c0 100644
--- a/__e2e__/util.ts
+++ b/__e2e__/util.ts
@@ -105,7 +105,7 @@ async function openAppForDebugBuild(platform: string, opts: any) {
   await sleep(3000)
 }
 
-export async function createServer(path = '') {
+export async function createServer(path = ''): Promise<string> {
   return new Promise(function (resolve, reject) {
     var req = http.request(
       {