We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d662f3 commit 8bd1e63Copy full SHA for 8bd1e63
.travis.yml
@@ -1,5 +1,9 @@
1
+dist: trusty
2
language: node_js
3
node_js: node
4
+addons:
5
+ chrome: stable
6
before_install:
7
- "export DISPLAY=:99.0"
8
- "sh -e /etc/init.d/xvfb start"
9
+ - sleep 3 # give xvfb some time to start
test.js
@@ -12,9 +12,11 @@ describe("bit-docs-tag-demo", function() {
12
server.on("error", reject);
13
});
14
15
- var puppeteerPromise = puppeteer.launch().then(function(b) {
16
- ctx.browser = b;
17
- });
+ var puppeteerPromise = puppeteer
+ .launch({ args: ["--no-sandbox"] })
+ .then(function(b) {
18
+ ctx.browser = b;
19
+ });
20
21
return Promise.all([serverPromise, puppeteerPromise]);
22
0 commit comments