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(preview): pass vscode.uri to live preview #394

Merged
merged 2 commits into from
Feb 25, 2023

Conversation

kaltepeter
Copy link
Contributor

Issue:

Changes:

image

closes ryanluker#381

convert file path string to vscode.Uri to support changes in live
preview

resovles the exception mentioned in microsoft/vscode-livepreview#384
@ryanluker
Copy link
Owner

ryanluker commented Feb 25, 2023

@kaltepeter Thanks for the PR!
I will take a look at the PR this weekend helpfully.

@ryanluker ryanluker added this to the 2.11.0 milestone Feb 25, 2023
const coverage = new Coverage(
stubConfig,
);

const value = await coverage.pickFile(["123"], "nope");
expect(value).to.equal("123");
expect(value?.path).to.equal("/123");
Copy link
Owner

Choose a reason for hiding this comment

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

Thanks for fixing the tests as well!
Looks like everything is passing here 🦾.
https://github.com/ryanluker/vscode-coverage-gutters/actions/runs/4270550605/jobs/7434653819

Copy link
Owner

@ryanluker ryanluker left a comment

Choose a reason for hiding this comment

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

Nice fix, thanks for the contribution!

@ryanluker ryanluker merged commit 97cb60f into ryanluker:master Feb 25, 2023
@kaltepeter kaltepeter deleted the fix-preview branch February 25, 2023 21:04
@ryanluker ryanluker modified the milestones: 2.11.0, 2.10.4 Mar 19, 2023
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.

Preview coverage report feature doesn't show anything
2 participants