chore: skip stealth test in github actions

ref: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
This commit is contained in:
TonyRL
2023-01-22 21:08:59 +00:00
committed by Tony
parent 131374c059
commit 4c51a2b6c9
2 changed files with 1 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ describe('puppeteer', () => {
browser = null;
}, 45000);
if (!process.env.GH_ACTIONS) {
if (!process.env.GITHUB_ACTIONS) {
it('puppeteer without stealth', async () => {
puppeteer = require('../../lib/utils/puppeteer');
browser = await puppeteer({ stealth: false });