Skip to content

Conversation

chrisgervang
Copy link
Contributor

@chrisgervang chrisgervang commented Mar 20, 2025

Closes #10

// .ocularrc.js
coverage: {
  test: 'browser' // now runs headless-browser tests in CI
},
// .ocularrc.js
coverage: {
  test: 'node' // runs node tests in CI
},

@chrisgervang
Copy link
Contributor Author

This would change deck to run headless-browser tests in ci as well based on this config:

https://github.com/visgl/deck.gl/blob/21dcaee23e199ffcb705a1896d8bb87a48abd63e/.ocularrc.js#L48

@chrisgervang
Copy link
Contributor Author

Here's a test in hubble showing node tests were running: https://github.com/visgl/hubble.gl/actions/runs/13976991475/job/39133098199

Then when I hacked around this the browser tests now run as expected: https://github.com/charlieforward9/hubble.gl/actions/runs/13977630524/job/39135198338

Copy link

Pull Request Test Coverage Report for Build 13977568143

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.932%

Totals Coverage Status
Change from base Build 13037499300: 0.0%
Covered Lines: 1024
Relevant Lines: 1145

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

yarn test ci runs node tests when configured for browser tests

1 participant