/CodeceptJSDockerExamples

Examples of using Docker alongside CodeceptJS

Primary LanguageJavaScript

This is a repository of examples of using CodeceptJS in a Docker environment. Each directory aims to give a simple example of a different Docker setup, and should contain all the files needed to clone it and make it run.

Contents:

Linting:

For linting eslint-config-skyscanner has been used, along with prettier. This is not included in each directory, if you wish to add it duplicate the .eslintrc and .prettierrc and run:

(
    export PKG=eslint-config-skyscanner;
    npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev
    "$PKG@latest"
)

to setup eslint, and then the following to integrate prettier:

npm install -D eslint-config-prettier eslint-plugin-prettier prettier