Skip to content

Commit

Permalink
adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Niranjan Jayakar committed Sep 13, 2021
1 parent acca89a commit eecc4e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/@aws-cdk/pipelines/test/compliance/assets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,7 @@ describe('pipeline with single asset publisher', () => {

const actualFileName = buildSpecName.asString();

expect(actualFileName).toMatch(/^buildspec-.*\.yaml$/);
const buildSpec = JSON.parse(fs.readFileSync(path.join(assembly.directory, actualFileName), { encoding: 'utf-8' }));
expect(buildSpec.phases.build.commands).toContain(`cdk-assets --path "assembly-FileAssetApp/FileAssetAppStackEADD68C5.assets.json" --verbose publish "${FILE_ASSET_SOURCE_HASH}:current_account-current_region"`);
expect(buildSpec.phases.build.commands).toContain(`cdk-assets --path "assembly-FileAssetApp/FileAssetAppStackEADD68C5.assets.json" --verbose publish "${FILE_ASSET_SOURCE_HASH2}:current_account-current_region"`);
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/pipelines/test/testhelpers/matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class StringLike extends Matcher {
}

class Sorter extends Matcher {
public name = 'SortByRunOrder';
public name = 'Sorter';

constructor(
private readonly pattern: any[],
Expand Down

0 comments on commit eecc4e0

Please sign in to comment.