'How to test a React Chrome Extension?

So I'm developing a chrome extension with React. Everything works fine, but every time a change is made, I have to rebuild the extension with:

npm run build

...and then go back into my browser and load the extension with the build. This works fine, as aforementioned, but it's time consuming, and I feel that there's a better way.

I can't test in-browser because I'm using Chrome APIs (storage sync, etc.)

Is there any other way to test? Or do I have to build every time?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source