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

Fix remaining type test failures #569

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Conversation

lloydk
Copy link
Collaborator

@lloydk lloydk commented Jun 27, 2024

Fixes the remaining type test failures. 🤞

The default value of the `o` parameter was causing the generated
type files to declare the `o` parameter as optional. This was
causing a failure in the contrast type tests.

Added additional tests for the contrast algorithms and functions
on the Color class.
Copy link

netlify bot commented Jun 27, 2024

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit 3dab629
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/667d01629bec590008164246
😎 Deploy Preview https://deploy-preview-569--colorjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jgerigmeyer
Copy link
Member

These changes look good, but CI is still reporting a number of type test errors. Is that expected?

@MysteryBlokHed
Copy link
Member

Would you mind checking whether the errors are from the tests, or the codebase itself? I'm on mobile right now, so I can't.

@MysteryBlokHed MysteryBlokHed merged commit 184363a into color-js:main Jun 27, 2024
4 of 5 checks passed
@jgerigmeyer
Copy link
Member

The errors are from dtslint -- likely related to: #571 (comment)

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.

None yet

3 participants