Conversation
… app to identify compositions by handler uris. Related issue: https://github.com/Starcounter/Blending/issues/422
df3b090 to
180f332
Compare
otherwise many WCT tests of starcounter-include fail
180f332 to
411a40a
Compare
because the changes in source code rely on it to work and the test fails because of an outdated fixture
…it with single expression
|
I included your requested changes and tested this out with the old and new blending app. Please re-review. |
|
There are 7 failing WCT tests with the following message: To reproduce locally, follow the instruction from https://github.com/Starcounter/starcounter-include/blob/master/CONTRIBUTING.md#developing-the-element The problem comes from the line that begins with |
| } | ||
| const defaultViewHtmlsToBeRendered = | ||
| compositionProvider.ActualViewUris.filter( | ||
| x => !compositionProvider.ViewUris.includes(x.hasOwnProperty("BlendingUri") ? x.BlendingUri : x)) |
There was a problem hiding this comment.
Can you add a test for the path that contain BlendingUri?
There was a problem hiding this comment.
Today is @PatrykSzwer's last day, so he wont add anything but I may.
Can you add a test for the path that contain
BlendingUri?
This whole section never had a single test. This PR does not make it much worse, but I agree tests should be added.
starcounter-include/starcounter-include.html
Lines 315 to 339 in e7a9b1e
Related issue: https://github.com/Starcounter/Blending/issues/422#issuecomment-451958858 p.2