Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: mock package version in conversation and generation for snapshot tests #3032

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

atierian
Copy link
Member

Description of changes

#3029 introduced an issue with snapshot tests where they'll fail whenever a new version is used.

This fixes that by mocking the package version.

CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • E2E test run linked
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@atierian atierian requested a review from a team as a code owner November 18, 2024 22:11
@@ -316,6 +324,7 @@ describe('generation route invalid inference configuration', () => {
);
});
});
// });
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just saw this. Linting passed locally, so I'll follow up with this.

@atierian atierian merged commit 843f5e3 into main Nov 18, 2024
6 of 7 checks passed
@atierian atierian deleted the ai.fix-version-snapshots branch November 18, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants