Last active
June 26, 2020 16:13
-
-
Save borisyordanov/8927089667cca2a58bcc19a6f68a2641 to your computer and use it in GitHub Desktop.
FYI `pactMatchers` comes from a custom package I use
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
{ | |
"Add id match": { | |
"prefix": "pact_id_match", | |
"body": [ | |
"pactMatchers.id(${TM_SELECTED_TEXT})" | |
] | |
}, | |
"Add oneOf match": { | |
"prefix": "pact_oneOf_match", | |
"body": [ | |
"pactMatchers.oneOf(${TM_SELECTED_TEXT})" | |
] | |
}, | |
"Add time match": { | |
"prefix": "pact_time_match", | |
"body": [ | |
"pactMatchers.time(${TM_SELECTED_TEXT})" | |
] | |
}, | |
"Add integer match": { | |
"prefix": "pact_integer_match", | |
"body": [ | |
"integer(${TM_SELECTED_TEXT})" | |
] | |
}, | |
"Add boolean match": { | |
"prefix": "pact_boolean_match", | |
"body": [ | |
"boolean(${TM_SELECTED_TEXT})" | |
] | |
}, | |
"Add string match": { | |
"prefix": "pact_string_match", | |
"body": [ | |
"string(${TM_SELECTED_TEXT})" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment