forked from asciidisco/grunt-qunit-istanbul
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d992917
commit 72feaff
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
# Options | ||
|
||
## timeout | ||
Type: `Number` | ||
Type: `Number` | ||
Default: `5000` | ||
|
||
The amount of time (in milliseconds) that grunt will wait for a QUnit `start()` call before failing the task with an error. | ||
|
||
## inject | ||
Type: `String` | ||
Type: `String` | ||
Default: (built-in) | ||
|
||
Path to an alternate QUnit-PhantomJS bridge file to be injected. See [the built-in bridge](https://github.com/gruntjs/grunt-contrib-qunit/blob/master/phantomjs/bridge.js) for more information. | ||
|
||
## urls | ||
Type: `Array` | ||
Type: `Array` | ||
Default: `[]` | ||
|
||
Absolute `http://` or `https://` urls to be passed to PhantomJS. Specified URLs will be merged with any specified `src` files first. Note that urls must be served by a web server, and since this task doesn't contain a web server, one will need to be configured separately. The [grunt-contrib-connect plugin](https://github.com/gruntjs/grunt-contrib-connect) provides a basic web server. | ||
|
||
## force | ||
Type: `boolean` | ||
Type: `boolean` | ||
Default: `false` | ||
|
||
When true, the whole task will not fail when there are individual test failures, or when no assertions for a test have run. This can be set to true when you always want other tasks in the queue to be executed. | ||
|
||
## (-- PhantomJS arguments) | ||
Type: `String` | ||
Type: `String` | ||
Default: (none) | ||
|
||
Additional `--` style arguments that need to be passed in to PhantomJS may be specified as options, like `{'--option': 'value'}`. This may be useful for specifying a cookies file, local storage file, or a proxy. See the [PhantomJS API Reference][] for a list of `--` options that PhantomJS supports. |