1 | var should = require('should');
|
2 |
|
3 | var notifier = require('../');
|
4 |
|
5 | describe('constructors', function(){
|
6 |
|
7 | it('should expose a default selected instance', function () {
|
8 | should(notifier.notify).be.ok;
|
9 | });
|
10 |
|
11 | it('should expose a default selected constructor function', function () {
|
12 | should(notifier instanceof notifier.Notification).be.ok;
|
13 | });
|
14 |
|
15 | it('should expose constructor for WindowsBalloon', function () {
|
16 | should(notifier.WindowsBalloon).be.ok;
|
17 | });
|
18 |
|
19 | it('should expose constructor for WindowsToaster', function () {
|
20 | should(notifier.WindowsToaster).be.ok;
|
21 | });
|
22 |
|
23 | it('should expose constructor for NotifySend', function () {
|
24 | should(notifier.NotifySend).be.ok;
|
25 | });
|
26 |
|
27 | it('should expose constructor for Growl', function () {
|
28 | should(notifier.Growl).be.ok;
|
29 | });
|
30 | });
|