- Run via Grunt
- Install dependencies; npm install;
- Run tests in browser: grunt;
- Run headless: grunt jasmine;
- node-canvas is required for headless testing.
- Please check https://github.com/Automattic/node-canvas for install details.
# Is you receive this error:
Error "Package xcb-shm was not found in the pkg-config search path." ...
# Run this
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH
# Source:
https://github.com/Homebrew/homebrew/issues/14123