Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 823 Bytes

CONTRIBUTING.md

File metadata and controls

59 lines (38 loc) · 823 Bytes

Contributing

Setup

Clone the repository:

git clone https://github.com/Microsoft/powerbi-models

Navigate to the cloned directory

Install local dependencies:

npm install

Building

npm run build

Or if using VS Code: Ctrl + Shift + B

Testing

npm test

By default the tests run using PhantomJS

There are various command line arguments that can be passed to the test command to facilitate debugging:

Run tests with Chrome

npm test -- --chrome

Enable debug level logging for karma, and remove code coverage

npm test -- --debug

Disable single run to remain open for debugging

npm test -- --watch

These are often combined and typical command for debugging tests is:

npm test -- --chrome --debug --watch