File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 3
3
build :
4
4
working_directory : ~/repo
5
5
docker :
6
- - image : circleci/node:lts
6
+ - image : circleci/node:latest-browsers
7
7
steps :
8
8
- checkout
9
9
- restore_cache :
23
23
- run :
24
24
name : test
25
25
command : yarn run test:coverage
26
+ - run :
27
+ name : e2e
28
+ command : yarn run test:e2e
26
29
- run :
27
30
name : codecov
28
31
command : yarn run codecov
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ module.exports = {
17
17
testMatch : [
18
18
'<rootDir>/test/e2e/v2.fetch.spec.js' ,
19
19
'<rootDir>/test/e2e/v2.xhr.spec.js' ,
20
- '<rootDir>/test/e2e/v2.node.spec.js' ,
20
+ // '<rootDir>/test/e2e/v2.node.spec.js',
21
21
'<rootDir>/test/e2e/v3.fetch.spec.js' ,
22
22
'<rootDir>/test/e2e/v3.xhr.spec.js' ,
23
- '<rootDir>/test/e2e/v3.node.spec.js' ,
23
+ // '<rootDir>/test/e2e/v3.node.spec.js',
24
24
] ,
25
25
} ,
26
26
] ,
Original file line number Diff line number Diff line change @@ -9,7 +9,12 @@ async function start() {
9
9
// This starts the a new puppeteer browser (Chrome)
10
10
// and load the localhost page, this page will load the
11
11
// javascript modules (see server.js for more info)
12
- browser = await puppeteer . launch ( ) ;
12
+ browser = await puppeteer . launch ( {
13
+ args : [
14
+ '--no-sandbox' ,
15
+ '--disable-setuid-sandbox' ,
16
+ ]
17
+ } ) ;
13
18
page = await browser . newPage ( ) ;
14
19
await page . goto ( `http://localhost:3000/` , {
15
20
waitUntil : 'networkidle0' ,
You can’t perform that action at this time.
0 commit comments