An image that runs wct tests in your component folder and in your CI.
- First build the docker container:
git clone [email protected]: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