-
Notifications
You must be signed in to change notification settings - Fork 113
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
Adds cookie attribute assertions (fixes #259) #261
Open
schrodervictor
wants to merge
10
commits into
chaijs:main
Choose a base branch
from
schrodervictor:adds-cookie-attr-assertions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Adds cookie attribute assertions (fixes #259) #261
schrodervictor
wants to merge
10
commits into
chaijs:main
from
schrodervictor:adds-cookie-attr-assertions
Commits on Nov 4, 2019
-
feat: add inline cookie attributes assertion
Adds the possibility to assert cookie attributes with the following syntax: ``` expect(res).to.have.cookie('key', 'value', { 'AttrOne': 'value-one', 'AttrTwo': 'value-two', // ... }); ```
Configuration menu - View commit details
-
Copy full SHA for b7f0cca - Browse repository at this point
Copy the full SHA b7f0ccaView commit details -
changes the assertion context after #cookie
When using .cookie(key, val, attributes), the assertion context will change from the original object to the cookie itself, in order to allow readable chained assertions about the cookie properties.
Configuration menu - View commit details
-
Copy full SHA for 16191fc - Browse repository at this point
Copy the full SHA 16191fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b51a6 - Browse repository at this point
Copy the full SHA 65b51a6View commit details
Commits on Nov 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fb35aa0 - Browse repository at this point
Copy the full SHA fb35aa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf5fb2 - Browse repository at this point
Copy the full SHA 6bf5fb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d9513e - Browse repository at this point
Copy the full SHA 4d9513eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82165cc - Browse repository at this point
Copy the full SHA 82165ccView commit details
Commits on Nov 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 15c6765 - Browse repository at this point
Copy the full SHA 15c6765View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bb65d6 - Browse repository at this point
Copy the full SHA 7bb65d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4fabba - Browse repository at this point
Copy the full SHA e4fabbaView commit details
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.