Skip to content

Latest commit

 

History

History
74 lines (59 loc) · 3.41 KB

File metadata and controls

74 lines (59 loc) · 3.41 KB

Nightwatch Typescript Boilerplate

Build TypeScript version Node.js version MIT

🧑‍💻 Developer ready: This project shows example of Nightwatch end-to-end tests written in typescript.

Other features:

Getting started

This project is intended to be used with the latest Active LTS release of Node.js.

Use as a repository template

To start, just click the Use template link (or the green button). Start adding your code in the src.

Clone repository

To clone the repository, use the following commands:

git clone https://github.com/nightwatchjs/nightwatch-typescript-boilerplate
cd nightwatch-typescript-boilerplate
npm install

Available Scripts

  • clean - remove transpiled files, logs and test output.
  • build - transpile TypeScript to ES6,
  • clean:build - run both clean and build command
  • test - run nightwatch test,
  • test-browserstack - run nightwatch tests on browserstack. (To run test in Browserstack, create .env file with the credentials)
  • lint - lint source files,
  • lint-and-fix - lint source files and fix the lint issue

License

Licensed under the MIT. See the LICENSE file for details.