You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR relates to #18024. It adds information on upgrading between major versions to the upgrade banner.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
return`Information about upgrading from version ${currentMajorVersion}.x to version ${currentMajorVersion+1}.x is available here: ${UPGRADE_DOCUMENTATION_LINKS[currentMajorVersion]}`;
expect(printSpy).toHaveBeenCalledWith(expect.stringContaining('Information about upgrading from version 1.x to version 2.x is available here: https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html'));
123
+
});
124
+
125
+
test('Does not include major upgrade documentation when unavailable',async()=>{
126
+
// Given current version is 99.0.0 and the latest version is 100.0.0
0 commit comments