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: imageKit test cases #3205

Merged
merged 1 commit into from
Jul 3, 2023
Merged

fix: imageKit test cases #3205

merged 1 commit into from
Jul 3, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Jul 3, 2023

What does this PR do?

🤖 Generated by Copilot at a8ce6a9

Refactored the imageKit function tests to use a new constant for the snapshot service. This improves the readability and maintainability of the test code in imageKit.spec.ts.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

🤖 Generated by Copilot at a8ce6a9

  • Update import statement to use LENS_MEDIA_SNAPSHOT_URL constant (link)
  • Rewrite tests for imageKit function to cover more scenarios and use LENS_MEDIA_SNAPSHOT_URL constant (link)

Emoji

🔄🧪📷

@vercel
Copy link

vercel bot commented Jul 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
prerender ✅ Ready (Inspect) Visit Preview Jul 3, 2023 6:44am
web ✅ Ready (Inspect) Visit Preview Jul 3, 2023 6:44am

@bigint bigint merged commit 0424a4b into main Jul 3, 2023
4 of 7 checks passed
@bigint bigint deleted the fix-tests branch July 3, 2023 05:32
@vercel vercel bot temporarily deployed to Preview – prerender July 3, 2023 06:44 Inactive
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

1 participant