Members
(inner) Date
- Source:
Save timer references to avoid Sinon interfering (see GH-237).
Methods
(static) isCapable() → {boolean}
Checks if Growl notification support seems likely.
- Source:
- See:
- Prerequisite Installs
- Mocha#growl
- Mocha#isGrowlCapable
Glosses over the distinction between an unsupported platform
and one that lacks prerequisite software installations.
Returns:
whether Growl notification support can be expected
- Type
- boolean
(static) isCapable() → {boolean}
- Source:
- See:
- Browser support (notifications)
- Browser support (promises)
- Mocha#growl
- Mocha#isGrowlCapable
Checks if browser notification support exists.
Returns:
whether browser notification support exists
- Type
- boolean
(static) notify(runner)
Implements desktop notifications as a pseudo-reporter.
Parameters:
Name | Type | Description |
---|---|---|
runner | Runner | Runner instance. |
(static) notify(runner)
- Source:
- See:
- Notification API
- Displaying a Notification
- Growl#isPermitted
- Mocha#_growl
Implements browser notifications as a pseudo-reporter.
Parameters:
Name | Type | Description |
---|---|---|
runner | Runner | Runner instance. |