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 CI #335

Merged
merged 2 commits into from
Aug 11, 2022
Merged

Fix CI #335

merged 2 commits into from
Aug 11, 2022

Conversation

orta
Copy link
Contributor

@orta orta commented Aug 11, 2022

The SVG rendering PR improvements in #290 ( /cc @TheFedaikin ) are OS dependent and can't be used on our CI ( for example on my computer (linux) :

- <svg viewBox=\\"0 0 156.4921875 101.9921875\\" width=\\"156.4921875\\" 
+ <svg viewBox=\\"0 0 156.4921875 112\\" width=\\"156.4921875\\" height=\\"112\

So, I've amended the tests to not verify the full snapshots and only to measure the viewBox width - which is kinda the key of the test. If you're up for it, I'll happily take PRs adding what you want to those tests but I'm cool with these changes

Also updates the pnpm lockfile because it did it

@netlify
Copy link

netlify bot commented Aug 11, 2022

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit c6afba5
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/62f4de5de312390009fb6992
😎 Deploy Preview https://deploy-preview-335--shiki-matsu.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 settings.

@orta
Copy link
Contributor Author

orta commented Aug 11, 2022

Looks like there was some more, I think to safely render these snapshots across windows and linux etc we might need a clever ish regex to remove the width=x and height=x from the snapshots?

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.

1 participant