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
{{ message }}
Repository navigation
Commit 86c1320
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/aws-cdk/THIRD_PARTY_LICENSES
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -484,7 +484,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
484
484
485
485
----------------
486
486
487
-
** cdk-from-cfn@0.156.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.156.0 | MIT OR Apache-2.0
487
+
** cdk-from-cfn@0.157.0 - https://www.npmjs.com/package/cdk-from-cfn/v/0.157.0 | MIT OR Apache-2.0
})).rejects.toThrowError('CannotGenerateTemplateStack could not be generated because template and/or language inputs caused the source code to panic');
920
-
expect(stderrMock.mock.calls[1][0]).toContain(' ❌ Migrate failed for `cannot-generate-template`: CannotGenerateTemplateStack could not be generated because template and/or language inputs caused the source code to panic');
919
+
})).rejects.toThrowError('CannotGenerateTemplateStack could not be generated because rust is not a supported language');
920
+
expect(stderrMock.mock.calls[1][0]).toContain(' ❌ Migrate failed for `cannot-generate-template`: CannotGenerateTemplateStack could not be generated because rust is not a supported language');
921
921
});
922
922
923
923
cliTest('migrate succeeds for valid template from local path when no lanugage is provided',async(workDir)=>{
Copy file name to clipboardExpand all lines: packages/aws-cdk/test/commands/migrate.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ describe('Migrate Function Tests', () => {
134
134
});
135
135
136
136
test('generateStack throws error when called for other language',()=>{
137
-
expect(()=>generateStack(validTemplate,'BadBadBad','php')).toThrowError('BadBadBadStack could not be generated because template and/or language inputs caused the source code to panic');
137
+
expect(()=>generateStack(validTemplate,'BadBadBad','php')).toThrowError('BadBadBadStack could not be generated because php is not a supported language');
138
138
});
139
139
140
140
test('generateStack throws error for invalid resource property',()=>{
0 commit comments