diff --git a/packages/aws-cdk-lib/pipelines/test/testhelpers/test-app.ts b/packages/aws-cdk-lib/pipelines/test/testhelpers/test-app.ts index 7c4577ebe2f79..40fd1c2a5d5ac 100644 --- a/packages/aws-cdk-lib/pipelines/test/testhelpers/test-app.ts +++ b/packages/aws-cdk-lib/pipelines/test/testhelpers/test-app.ts @@ -204,7 +204,7 @@ export class MultipleFileAssetsApp extends Stage { const fileNames = ['test-file-asset.txt', 'test-file-asset-two.txt', 'test-file-asset-three.txt']; if (props.displayNames && props.displayNames.length !== props.n) { - throw new Error('Incorrect displayNames lenght'); + throw new Error('Incorrect displayNames length'); } for (let i = 0; i < props.n; i++) {