Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report code coverage from browser test #8526

Merged
merged 3 commits into from Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ocularrc.js
Expand Up @@ -49,8 +49,8 @@ const config = {
'deck.gl-test': join(packageRoot, './test')
},

browserTest: {
server: {wait: 5000}
coverage: {
test: 'browser'
},

entry: {
Expand Down
6 changes: 3 additions & 3 deletions modules/core/package.json
Expand Up @@ -51,9 +51,9 @@
"@math.gl/core": "^4.0.0",
"@math.gl/sun": "^4.0.0",
"@math.gl/web-mercator": "^4.0.0",
"@probe.gl/env": "^4.0.4",
"@probe.gl/log": "^4.0.4",
"@probe.gl/stats": "^4.0.4",
"@probe.gl/env": "^4.0.6",
"@probe.gl/log": "^4.0.6",
"@probe.gl/stats": "^4.0.6",
"@types/offscreencanvas": "^2019.6.4",
"gl-matrix": "^3.0.0",
"mjolnir.js": "^2.7.0"
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -22,9 +22,9 @@
"vite": "process polyfill missing"
},
"resolutions": {
"@probe.gl/log": "4.0.4",
"@probe.gl/stats": "4.0.4",
"@probe.gl/env": "4.0.4",
"@probe.gl/log": "4.0.6",
"@probe.gl/stats": "4.0.6",
"@probe.gl/env": "4.0.6",
"escaper": "3.0.6",
"vite": "^4.3.9"
},
Expand All @@ -39,7 +39,7 @@
"publish": "ocular-publish",
"start": "open https://deck.gl/docs/get-started/getting-started",
"test": "ocular-test",
"test-ci": "ocular-lint && ocular-test browser-headless",
"test-ci": "ocular-lint && ocular-test node && ocular-test cover",
"test-fast": "ocular-test fast",
"test-node": "ocular-test node",
"test-browser": "ocular-test browser",
Expand All @@ -64,15 +64,15 @@
"@luma.gl/test-utils": "9.0.0-beta.4",
"@luma.gl/webgpu": "9.0.0-beta.4",
"@math.gl/proj4": "^4.0.0",
"@probe.gl/bench": "^4.0.5",
"@probe.gl/test-utils": "^4.0.5",
"@probe.gl/bench": "^4.0.6",
"@probe.gl/test-utils": "^4.0.6",
"@types/react": "^18.2.0",
"abortcontroller-polyfill": "^1.5.0",
"babel-loader": "^8.0.0",
"gl": "6.0.2",
"glsl-transpiler": "^1.8.6",
"jsdom": "^20.0.0",
"ocular-dev-tools": "2.0.0-alpha.23",
"ocular-dev-tools": "2.0.0-alpha.26",
"pre-commit": "^1.2.2",
"pre-push": "^0.1.1",
"puppeteer": "^22.0.0",
Expand Down