Clone the repository:
git clone https://github.com/Microsoft/powerbi-modelsNavigate to the cloned directory
Install local dependencies:
npm installnpm run buildOr if using VS Code: Ctrl + Shift + B
npm testBy 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 -- --chromeEnable debug level logging for karma, and remove code coverage
npm test -- --debugDisable single run to remain open for debugging
npm test -- --watchThese are often combined and typical command for debugging tests is:
npm test -- --chrome --debug --watch