Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (19 loc) · 643 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 643 Bytes

ngHint Plugin

ngHint adds run-time hinting to AngularJS projects. This plugin bubbles those hints up to the command line so they can be used in automated testing.

You enable this plugin in your config file:

exports.config = {
 plugins: [{
   package: 'protractor-ng-hint-plugin',

   asTests: {Boolean},
   excludeURLs: {(String|RegExp)[]}
 }]
};

asTests specifies if the plugin should generate passed/failed test results based on the ngHint output or instead log the results to the console. Defaults to true.

excludeURLs specifies a list of URLs for which ngHint results should be ignored. Defaults to []