Skip to content

Commit

Permalink
Fixed jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apknusel committed Jan 18, 2025
1 parent aa6cec0 commit 94e689c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/contentScript.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('YouTube Spot Saver Function Tests', () => {
let page;

beforeAll(async () => {
browser = await puppeteer.launch({ headless: true });
browser = await puppeteer.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] });
page = await browser.newPage();

// Inject mock chrome object
Expand Down Expand Up @@ -90,7 +90,7 @@ describe('YouTube Spot Saver Integration Tests', () => {
let page;

beforeAll(async () => {
browser = await puppeteer.launch({ headless: true });
browser = await puppeteer.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] });
page = await browser.newPage();

// Inject mock chrome object
Expand Down

0 comments on commit 94e689c

Please sign in to comment.