prettier-browser-extension
prettier-browser-extension copied to clipboard
Testing content
#53
- [x] Test basic button injection
- [x] Create fully-functioning stubs
- [x]
chrome.extension.storage.sync - [x]
MutationObserver
- [x]
- [x] Attempt to test with mocked
window.location - [x] Test option loading behavior
- [x] Consider adding more granular unit tests per class/file/method/function
- [x] Consider using dom-testing-library for better assertions and consistency with #87
- [ ] ~~Complete test coverage~~
Can we fix the merge conflicts and merge this? If everything is set up, I don't think we need to wait until we have complete coverage before merging.
Friendly ping.
I'm going to see if I can swap in sinon-chrome similarly to #87 before I merge this. Maintaining mocks manually is a lot of churn.
Are you still working on this? If not, I think it would be best to close the PR for now so others can feel free to work on it (would love to land this PR if you're still working on it, though!).