Testing is run via Jest. Fast, unit and higher level testing will happen on build. You can run these test manually with gulp js:test
or npm test
.
TODO: Write more meaningful tests.
TODO: Some basic automated, cross-browser testing would be very beneficial. Unfortunately things like Browserstack are very expensive, and managing our own servers to do this would be very expensive time-wise as well.
A manual test page is provided for looking at the piece embeded in another page.
- Assumes you are running the development server with
gulp develop
- Run a local server for the test directory, such as
cd tests && python -m SimpleHTTPServer
orhttp-server ./tests/
- In a browser, go to http://localhost:8080/manual/embed.html.