Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FYI `pactMatchers` comes from a custom package I use
{
"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
You can’t perform that action at this time.