fakery-js (npm): A javascript library for mocking, wrapping DOM elements and JS APIs for unit testing. The idea is that you can use the real DOM /runtime, but just customize that one field you need for the unit test.
Keywords: unit test|testing|tests