chore: cleanup tests

This commit is contained in:
Aetherinox 2024-04-04 13:19:16 -07:00
parent 1499fd789b
commit 7e06762b25
No known key found for this signature in database
GPG Key ID: CB5C4C30CD0D4028
1 changed files with 0 additions and 3 deletions

View File

@ -7,9 +7,7 @@ module.exports = function (grunt) {
const puppeteer = require('puppeteer');
(async function () {
grunt.log.writeln('Running tests...');
const fullPath = 'file://' + path.resolve(file);
const browser = await puppeteer.launch({
headless: opt.headless,
executablePath: process.env.CHROME_BIN || null,
@ -18,7 +16,6 @@ module.exports = function (grunt) {
grunt.log.writeln('puppeteer launched...');
const page = await browser.newPage();
await page.goto(fullPath);
async function check() {
const result = await page.evaluate(() => {
const { output, done } = window;