contentful-management.js
contentful-management.js copied to clipboard
fix(tests): add wait for environment creation function to prevent flaky tests []
trafficstars
Summary
- adds
waitForEnvironmentToBeReadyto most tests that are usingcreateEnvironment
Description
Motivation and Context
Checklist (check all before merging)
- [ ] Both unit and integration tests are passing
- [ ] There are no breaking changes
- [ ] Changes are reflected in the documentation
When adding a new method:
- [ ] The new method is exported through the default and plain CMA client
- [ ] All new public types are exported from
./lib/export-types.ts - [ ] Added a unit test for the new method
- [ ] Added an integration test for the new method
- [ ] The new method is added to the documentation
@luizfonseca could you try using the next major test utils package? Maybe it will fix it?
@luizfonseca should we close it? looks like there's not time to follow up?