Skip to content

Commit

Permalink
Fix project test
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed Jun 30, 2024
1 parent c9ceda5 commit 1832caf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/common-cosmos/src/project/project.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ describe('project.yaml', () => {
const cosmosManifest = loadFromJsonOrYaml(
path.join(projectsDir, './protoTest1', 'bad-chaintypes-project.yaml')
) as any;

Check warning on line 46 in packages/common-cosmos/src/project/project.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type
expect(() => parseCosmosProjectManifest(cosmosManifest)).toThrow('failed to parse project.yaml');
expect(() => parseCosmosProjectManifest(cosmosManifest)).toThrow(
'Failed to parse project. Please see below for more information'
);
});
it('Ensure chaintypes existence on manifest deployment', () => {
const cosmosManifest = loadFromJsonOrYaml(path.join(projectsDir, './protoTest1', 'project.yaml')) as any;

Check warning on line 52 in packages/common-cosmos/src/project/project.spec.ts

View workflow job for this annotation

GitHub Actions / code-style

Unexpected any. Specify a different type
Expand Down

0 comments on commit 1832caf

Please sign in to comment.