From c74fc36909c12ad3d6e3ea3b8751f7867f26b7fe Mon Sep 17 00:00:00 2001 From: Alexander Zeitler Date: Wed, 6 Jan 2021 17:07:43 +0100 Subject: [PATCH] style: set return type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Paweł Niedzielski --- test/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.test.ts b/test/index.test.ts index 773f4d4..1efed6d 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -303,7 +303,7 @@ test('ensure run and exec with command defined as array are working', async (): }); test('build accepts config as string', async (): Promise => { - const configuration = await new Promise(function (resolve, reject) { + const configuration = await new Promise(function (resolve, reject): void { readFile(path.join(__dirname, 'docker-compose-2.yml'), function (err, content) { if (err) { reject(err);