-
Notifications
You must be signed in to change notification settings - Fork 405
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(live-server): testing #1331
Merged
JosefBredereck
merged 17 commits into
pattern-lab:dev
from
mfranzke:fix-live-server-testing
Jun 21, 2021
Merged
fix(live-server): testing #1331
JosefBredereck
merged 17 commits into
pattern-lab:dev
from
mfranzke:fix-live-server-testing
Jun 21, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Uncaught AssertionError [ERR_ASSERTION]: version not found" the package got renamed with commit 420f3ea
it's not clear why those conditions shouldn't get negated for that specific testing scenario
instead of the changed behavior by version 4
JosefBredereck
requested changes
Jun 21, 2021
…/patternlab-node into fix-live-server-testing
JosefBredereck
approved these changes
Jun 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes:
I've identified that the tests for the
live-server
subpackage tend to fail (not just partly like before, but due to bigger problems in total).It seems to be especially about two code changes that have been introduced with commit f56ba66 that would need to get further analyzed (both executed via
yarn run test:separate
:Additionally I've fixed these further aspects:
@JosefBredereck do you have the chance to have a look whether those two changes to your previously checked in code with commit f56ba66 are fine for you?
The following code changes are mainly minor changes, but remaining to have the tests run smoothly again:
Solutions
cli
conditions on "serving string not found", as searching for the string starting at the beginning in relation to this error message works correctly if this condition is being negated.ESLint
feedback, to finally let the test cases run through smoothly (didn't wanted to open a new issue / merge request for those simple, but related "fixes").Retest
To retest the changes out of this release: