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: missing code to wire-up file loader #145

Merged
merged 10 commits into from
Aug 2, 2023
Merged

Conversation

tpluscode
Copy link
Contributor

In #142 I forgot to add code which actually sets up the new loader in registry

Here, I did that and added an e2e test which uses the loader

@changeset-bot
Copy link

changeset-bot bot commented Aug 1, 2023

🦋 Changeset detected

Latest commit: 0ec28c1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
barnard59-core Patch
barnard59 Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov-commenter
Copy link

codecov-commenter commented Aug 1, 2023

Codecov Report

Merging #145 (048f3c3) into master (d2b8de1) will decrease coverage by 0.15%.
The diff coverage is 95.45%.

@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
- Coverage   90.92%   90.77%   -0.15%     
==========================================
  Files          78       79       +1     
  Lines        3130     3155      +25     
==========================================
+ Hits         2846     2864      +18     
- Misses        284      291       +7     
Flag Coverage Δ
barnard59-base 96.83% <ø> (ø)
barnard59-core 80.35% <90.00%> (-0.29%) ⬇️
barnard59-ftp 86.22% <ø> (ø)
barnard59-graph-store 98.42% <ø> (ø)
barnard59-rdf 97.04% <100.00%> (+0.01%) ⬆️
barnard59-sparql 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
packages/core/lib/loader/file.js 61.11% <83.33%> (ø)
packages/core/lib/VariableMap.js 100.00% <100.00%> (ø)
packages/core/lib/defaultLoaderRegistry.js 100.00% <100.00%> (ø)
packages/rdf/lib/localFetch/localFetch.js 81.52% <100.00%> (+1.06%) ⬆️

@ludovicm67
Copy link
Member

Some tests failed for barnard59-rdf, can you have a look @tpluscode ?

@tpluscode
Copy link
Contributor Author

Working on it but I don't understand what happened. Seems like unrelated tests start failing 🙄

Copy link
Member

@ludovicm67 ludovicm67 left a comment

Choose a reason for hiding this comment

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

Thanks for improving the readability! One very little last thing: I will suggest renaming absolut into absolute, then I will approve the PR.

packages/rdf/lib/localFetch/localFetch.js Outdated Show resolved Hide resolved
packages/rdf/lib/localFetch/localFetch.js Outdated Show resolved Hide resolved
tpluscode and others added 2 commits August 2, 2023 16:54
Co-authored-by: Ludovic Muller <ludovicm67@users.noreply.github.com>
Co-authored-by: Ludovic Muller <ludovicm67@users.noreply.github.com>
@tpluscode tpluscode merged commit aedd601 into master Aug 2, 2023
15 checks passed
@tpluscode tpluscode deleted the file-loader-missing-tests branch August 2, 2023 14:58
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.

3 participants