An image that runs wct tests in your component folder and in your CI.
- First build the docker container:
git clone git@github.com:beliantech/wct-headless.git
docker build -t wct-headless .- The following commands assume a component directory with tests in sub-directory, e.g.
test/:
docker run --rm -it -v `pwd`/:/opt/code --entrypoint 'npm' wct-headless run test