From a42bcf35b963e5243a840e609407b957bbb95115 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 23 Aug 2021 13:45:55 +0300 Subject: [PATCH] Update async.config.js --- tests/input/async.config.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/input/async.config.js b/tests/input/async.config.js index 60c461d..d8e1998 100644 --- a/tests/input/async.config.js +++ b/tests/input/async.config.js @@ -16,6 +16,10 @@ module.exports = { return Promise.resolve({ accountID: '123' }) } }, - parser: () => [], - logo: () => 'http://example.com/logos/1TV.png?x=шеллы&sid=777' + parser() { + return Promise.resolve([]) + }, + logo() { + return Promise.resolve('http://example.com/logos/1TV.png?x=шеллы&sid=777') + } }