(body, where, config, auth, now)
| 38 | }; |
| 39 | |
| 40 | const sendPush = (body, where, config, auth, now) => { |
| 41 | const pushController = new PushController(); |
| 42 | return new Promise((resolve, reject) => { |
| 43 | pushController.sendPush(body, where, config, auth, resolve, now).catch(reject); |
| 44 | }); |
| 45 | }; |
| 46 | |
| 47 | describe('PushController', () => { |
| 48 | it('can validate device type when no device type is set', done => { |
no test coverage detected