Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Update dependencies and tests for testing middleware fix #100

Merged

Conversation

KevinGrandon
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 13, 2018

Codecov Report

Merging #100 into master will increase coverage by 8%.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #100   +/-   ##
=====================================
+ Coverage      78%    86%   +8%     
=====================================
  Files           2      2           
  Lines          50     50           
  Branches       16     16           
=====================================
+ Hits           39     43    +4     
+ Misses          9      6    -3     
+ Partials        2      1    -1
Impacted Files Coverage Δ
src/server.js 91.3% <100%> (+17.39%) ⬆️

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 7a05756...8eabce6. Read the comment docs.

@@ -59,7 +59,7 @@ onerror = function(m,s,l,c,e) {
};
</script>`;
ctx.template.head.unshift(script);
} else if (ctx.path === ctx.prefix + '/_errors') {
} else if (ctx.path === '/_errors') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want the prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was told that we strip the prefix, but it looks like we might only strip it for the URL, and not path?

https://github.com/fusionjs/fusion-cli/blob/master/lib/strip-prefix.js

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(Path is probably derived from the URL, but will do some verification)

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool, almost forget about the stripping

@KevinGrandon
Copy link
Contributor Author

!merge

@old-fusion-bot old-fusion-bot bot merged commit 5d38347 into fusionjs:master Mar 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants