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

Port color modification tests #480

Merged
merged 3 commits into from
Mar 12, 2024
Merged

Conversation

lloydk
Copy link
Collaborator

@lloydk lloydk commented Mar 12, 2024

Closes #395

Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit b64fd68
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/65f09804d4b9130009ed1aee
😎 Deploy Preview https://deploy-preview-480--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.

Copy link
Member

@LeaVerou LeaVerou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for working on this, you rock!

My only comment is that you don’t actually need run there at all, you just need to rename args to run and it should do what you intend here (and if it doesn't that's a bug to fix).

There is probably a way to make these a bit less repetitive, but whatevs, I'm just very glad to have them ported! 😄

Thanks again!

name: "Color modification tests",
description: "These tests modify one or more coordinates and check the result.",
run (func) {
return func();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is never needed, you can just have a run on each individual test. :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, that's way better.

@lloydk lloydk merged commit e29ecae into color-js:main Mar 12, 2024
5 checks passed
@lloydk lloydk deleted the color-modification-test branch March 12, 2024 18:03
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.

[chore] Port Color modification tests to the new test format
2 participants