-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added support for "missing" matcher (#1905)
* fix: added support for missing matcher * fix: prettier fix * fix: removed skip from missing matcher tests * fix: updatiing demo to showcase missing matcher * fix: added new cookie testing page for missing matcher --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
2e5a728
commit f30e178
Showing
8 changed files
with
337 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const MatcherCookie = () => { | ||
return ( | ||
<div> | ||
<p>The cookie "missingCookie" should be set to true</p> | ||
</div> | ||
) | ||
} | ||
|
||
export default MatcherCookie |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import * as React from 'react' | ||
import Link from 'next/link' | ||
|
||
const Missing = () => { | ||
return ( | ||
<div> | ||
<p>Will Check if 'missingCookie' is missing and display headers</p> | ||
<p>To test go to <Link href="/matcher-cookie">cookies page</Link> and come back</p> | ||
</div> | ||
) | ||
} | ||
|
||
export default Missing |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.