Skip to content

Commit

Permalink
fix browser test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed May 4, 2019
1 parent 491b1da commit 2999555
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions ocular-dev-tools.config.js
Expand Up @@ -24,6 +24,13 @@ module.exports = {
'test-data': resolve(__dirname, 'test/data')
},

browserTest: {
browser: {
// Required by CI
args: ['--no-sandbox', '--disable-setuid-sandbox']
}
},

entry: {
test: 'test/index.js',
'test-browser': 'test/browser.js'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"coveralls": "^3.0.0",
"eslint-config-uber-jsx": "^3.3.3",
"eslint-plugin-react": "^7.5.1",
"ocular-dev-tools": "0.0.21",
"ocular-dev-tools": "0.0.22",
"pre-commit": "^1.2.2",
"react": "^16.4.1",
"react-dom": "^16.4.1"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -6117,10 +6117,10 @@ obuf@^1.0.0, obuf@^1.1.2:
resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==

ocular-dev-tools@0.0.21:
version "0.0.21"
resolved "https://registry.yarnpkg.com/ocular-dev-tools/-/ocular-dev-tools-0.0.21.tgz#ed9ced6679f3f9eb87371525197f955a39b72e0f"
integrity sha512-rHC3m0Zd8Qd2x0koHDJOjkY99/ytakPa/u8dW/XAPy1tKIktgEj0Azch+lPln2YzflJMVP/MYBM/K9rp3ZcYaQ==
ocular-dev-tools@0.0.22:
version "0.0.22"
resolved "https://registry.yarnpkg.com/ocular-dev-tools/-/ocular-dev-tools-0.0.22.tgz#7320434359c94c3feee801c547efda1aa8df68db"
integrity sha512-IFlbpPfFs+5kGGgGkZb4lu4i8pn/8a54/KiD9llD3tlncSM0OvxSjsGYMDWuk2utbJtChuLs7QuJZ1opzvjUxA==
dependencies:
"@babel/cli" "^7.0.0"
"@babel/core" "^7.0.0"
Expand Down

0 comments on commit 2999555

Please sign in to comment.