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: add tests for data uri, fix data uri in demo page #1133

Merged
merged 3 commits into from
May 20, 2021
Merged

Conversation

brandonocasey
Copy link
Contributor

Description

Adds tests for, and as soon as we get a vhs-utils update, fixes data-uri type urls.

@@ -400,7 +400,7 @@
}

if (source.src) {
stateEls.url.value = source.src;
stateEls.url.value = encodeURI(source.src);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

without this data-uri's break the demo on reload.

gkatsev
gkatsev previously approved these changes May 20, 2021
Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

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

LGTM, can be a chore:

@codecov
Copy link

codecov bot commented May 20, 2021

Codecov Report

Merging #1133 (bca6d9e) into main (956104a) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1133      +/-   ##
==========================================
- Coverage   86.25%   86.22%   -0.04%     
==========================================
  Files          39       39              
  Lines        9289     9289              
  Branches     2127     2127              
==========================================
- Hits         8012     8009       -3     
- Misses       1277     1280       +3     
Impacted Files Coverage Δ
src/source-updater.js 94.51% <0.00%> (-0.97%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 956104a...bca6d9e. Read the comment docs.

@gkatsev
Copy link
Member

gkatsev commented May 20, 2021

I see, vhs-utils fix will go here, cool

@gkatsev gkatsev merged commit 0be51eb into main May 20, 2021
@gkatsev gkatsev deleted the fix/test-data-uri branch May 20, 2021 19:24
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.

2 participants