Skip to content

Commit

Permalink
fix docs and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nika-begiashvili committed Jan 18, 2024
1 parent bc7669e commit e9f68ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<img src="https://travis-ci.com/nika-begiashvili/libarchivejs.svg?branch=master"
alt="build status">
</a>
<a href="https://david-dm.org/nika-begiashvili/libarchivejs">
<img src="https://david-dm.org/nika-begiashvili/libarchivejs/status.svg"
alt="dependency status">
</a>
<a href="https://github.com/nika-begiashvili/libarchivejs/blob/master/LICENSE">
<img src="https://img.shields.io/npm/l/libarchive.js.svg"
alt="license">
Expand Down
6 changes: 3 additions & 3 deletions test/testutils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const StaticServer = require("static-server");
const puppeteer = require("puppeteer");
//const isWsl = require("is-wsl");
const isWsl = require("is-wsl");
const port = 8787;
const width = 800;
const height = 600;
Expand All @@ -20,11 +20,11 @@ const startServer = () =>

module.exports = {
setup: async () => {
let browser = await puppeteer.launch({
let browser = isWsl ? await puppeteer.launch({
headless: "new",
executablePath: "google-chrome",
args: ["--no-sandbox"],
});
}) : await puppeteer.launch({headless: 'new'});

let page = await browser.newPage();
await page.setViewport({ width, height });
Expand Down

0 comments on commit e9f68ea

Please sign in to comment.