In https://github.com/Automattic/studio/pull/495, we fixed the issue that ensured that when there is one demo site that is updating, all other demo sites are not marked as updating and the button Update demo site remains available. This PR adds a unit test to confirm that two demo sites can be updated independently of each other.
Testing Instructions
Observe that the unit tests below are passing and all the checks are passing
Alternatively:
Pull the changes from this branch
Run nvm use && npm install && npm run test
Confirm that all the tests are passing
Pre-merge Checklist
[ ] Have you checked for TypeScript, React or other console errors?
Closes: https://github.com/Automattic/dotcom-forge/issues/9008
Proposed Changes
In https://github.com/Automattic/studio/pull/495, we fixed the issue that ensured that when there is one demo site that is updating, all other demo sites are not marked as updating and the button Update demo site remains available. This PR adds a unit test to confirm that two demo sites can be updated independently of each other.
Testing Instructions
Alternatively:
nvm use && npm install && npm run test
Pre-merge Checklist