Closed martinalbert closed 2 years ago
I tried to run tests locally with yalced @superface/testing migration/1.0.1-to-2.0.0 branch and 65 tests failed with
[SdkExecutionError: Request ended with network error: reject·
At 2021-12-17T09:15:14.348Z
No backup provider available
]
🤷
I suggest to release rc version of @superface/testing and use it this PR.
@janhalama Last commit in migration/1.0.1-to-2.0.0
implements migration, so that's probably why they're failing. Please try undoing last commit from that branch.
Description
This PR migrates station tests and recordings to testing library v2.0.0. (To be released)
Migration was done in three steps:
This was done with locally yalced testing library, containing merged all currently open PRs in testing library, you can find migration code on branch migration/1.0.1-to-2.0.0 - https://github.com/superfaceai/testing/commit/d7e98a31e2cbf2be84da58ac53c57f78ae5fdf42
I don’t have keys for rerunning tests in record mode, which could possibly change recordings as 2.0.0 also contains functionality to hide credentials/parameters/input values in
rawHeaders
or inresponse
. Please let me know if you know about such sensitive information and I’ll modify recordings or tests.Motivation and Context
2.0.0 release of testing library (CHANGELOG)
Types of changes
Checklist: