We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9a5e8a commit 739b7fbCopy full SHA for 739b7fb
test/screenshot/screenshot.test.js
@@ -24,7 +24,7 @@ const USER_AGENTS = {
24
25
jest.setTimeout(120000);
26
27
-const setupBrowserPage = (async () => {
+const setupBrowserPage = async () => {
28
console.log('>>> setupBrowserPage has been invoked');
29
const { browser, page } = await openPage(await webpackCompile(BASE_SCREENSHOT_TEST));
30
@@ -39,7 +39,7 @@ const setupBrowserPage = (async () => {
39
});
40
41
return { browser, page };
42
-})();
+};
43
44
beforeAll(async () => await setupBrowserPage);
45
0 commit comments