Skip to content

A node.js project that runs automated browser tests using Electron

License

Notifications You must be signed in to change notification settings

cstroe/node-typescript-nightmare-mocha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-typescript-nightmare-mocha

This is a project to show how to run automated browser tests using the Nightmare framework.

Requirements

  • nvm - Node Version Manager, POSIX-compliant bash script to manage multiple active node.js versions
  • typescript - TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.

Usage

nvm use
npm install
npm test

tsconfig.json

The tsconfig.json file customizes configures various behaviors of the TypeScript compiler:

  • "target": "es5" - compile to ES5 (see docs)
  • "module": "commonjs" - use CommonJS modules
  • "outDir": "out" - put compiled JavaScript files in the out directory (see docs)
  • "sourceMap": true - supports debugging (see docs)

.vscode/settings.json

settings.json configures VSCode to use the same TypeScript version as the project (see docs.

DefinitelyTyped

DefinitelyTyped is a repository of TypeScript type mappings for popular JavaScript packages. Search for your package using TypeSearch.

TypeScript Declaration Files

Mocha.js

Links

About

A node.js project that runs automated browser tests using Electron

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published