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

feat: MockApp #13

Merged
merged 1 commit into from
Dec 8, 2024
Merged

feat: MockApp #13

merged 1 commit into from
Dec 8, 2024

Conversation

jjeff
Copy link
Contributor

@jjeff jjeff commented Dec 8, 2024

This pull request introduces a new MockApp class to the project, updates the README.md file to include this new class, and adds corresponding tests. Additionally, the src/index.ts file is updated to export the new MockApp class.

New MockApp class:

  • src/MockApp.ts: Introduced a new MockApp class that extends EventEmitter and implements the Electron.App interface. The class includes numerous methods and properties, all of which are spied on using sinon.

Documentation updates:

  • README.md: Updated the list of implemented mock classes to include MockApp. [1] [2]

Export updates:

Tests for MockApp:

  • test/MockApp.test.ts: Added comprehensive tests for the MockApp class, ensuring that all methods and properties are properly spied on and function as expected.

@jjeff jjeff merged commit b059356 into main Dec 8, 2024
1 check passed
Copy link

github-actions bot commented Dec 8, 2024

🎉 This PR is included in version 1.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant