Artur Neumann
04/04/2022, 5:45 AMprovider.given('file exists', { username, password, fileName: resource })
but in the JSON I only have one providerstate with that name
"providerStates": [
{
"name": "the user is recreated",
"params":...
},
{
"name": "file exists",
"params": {
"fileName": "testFolder/文件.txt",
"password": "test123",
"username": "test123"
}
},
{
"name": "resource is shared",
"params": ...
}
]
Making the names of provider states individual makes them appear in the JSON, but that would mean I would also have to have an individual state definition in the provider tests (stateHandlers)Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
uglyog
Matt (pactflow.io / pact-js / pact-go)
uglyog
Matt (pactflow.io / pact-js / pact-go)
Artur Neumann
04/04/2022, 5:51 AMuglyog
Artur Neumann
04/04/2022, 5:52 AMuglyog
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Artur Neumann
04/04/2022, 5:55 AMArtur Neumann
04/06/2022, 10:44 AMMatt (pactflow.io / pact-js / pact-go)