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

Migrate mock encryptor to TypeScript #399

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Mar 16, 2021

The mock encryptor we use for the KeyringController tests has been migrated to TypeScript. It has also been converted from an object literal to a class, as it seemed a bit more conventional that way. The encrypt function is also no longer a sinon stub - the stub functionality was not used at all.

The mock encryptor we use for the KeyringController tests has been
migrated to TypeScript. It has also been converted from an object
literal to a class, as it seemed a bit more conventional that way. The
`encrypt` function is also no longer a sinon stub - the stub
functionality was not used at all.
@Gudahtt Gudahtt requested a review from a team as a code owner March 16, 2021 15:00
Copy link
Contributor

@NiranjanaBinoy NiranjanaBinoy left a comment

Choose a reason for hiding this comment

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

LGTM

@Gudahtt Gudahtt merged commit 9362bb4 into develop Mar 16, 2021
@Gudahtt Gudahtt deleted the migrate-mock-encryptor-to-typescript branch March 16, 2021 19:12
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The mock encryptor we use for the KeyringController tests has been
migrated to TypeScript. It has also been converted from an object
literal to a class, as it seemed a bit more conventional that way. The
`encrypt` function is also no longer a sinon stub - the stub
functionality was not used at all.
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The mock encryptor we use for the KeyringController tests has been
migrated to TypeScript. It has also been converted from an object
literal to a class, as it seemed a bit more conventional that way. The
`encrypt` function is also no longer a sinon stub - the stub
functionality was not used at all.
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.

2 participants