merged-dev

This commit is contained in:
tonyrewin 2022-11-26 01:54:56 +03:00
commit 3c1b2ef550
2 changed files with 9 additions and 13 deletions

View File

@ -9,7 +9,6 @@ const checkUrl = async (page, targetUrl, pageName) => {
await page.screenshot({ path: `${pageName}.jpg` }) await page.screenshot({ path: `${pageName}.jpg` })
} }
async function run() {
const browser = await chromium.launch() const browser = await chromium.launch()
const page = await browser.newPage() const page = await browser.newPage()
@ -20,6 +19,3 @@ async function run() {
await checkUrl(page, `${targetUrl}/topics`, 'topics') await checkUrl(page, `${targetUrl}/topics`, 'topics')
await page.close() await page.close()
await browser.close() await browser.close()
}
await run()

View File

@ -18,7 +18,7 @@ export default gql`
topics topics
authors authors
reactions reactions
communities # communities
} }
} }
} }