JavaScript Unit Tests for Core

Recently WordPress added QUnit as a JavaScript unit testing framework and added its first JavaScript unit tests. I thought I would walk through how to run the tests and how to write tests so that we can increase our JavaScript test coverage. All of these are based upon using the checkout which is where the JS unit tests live.
Continue reading

#javascript, #unit-tests


#3-5, #housekeeping, #unit-tests