mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Latest Code
This commit is contained in:
22
node_modules/pushover-notifications/test/test.js
generated
vendored
Normal file
22
node_modules/pushover-notifications/test/test.js
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
var push = require( '../lib/pushover.js' );
|
||||
|
||||
var p = new push( {
|
||||
user: process.env['PUSHOVER_USER'],
|
||||
token: process.env['PUSHOVER_TOKEN'],
|
||||
update_sounds: false,
|
||||
debug: true
|
||||
});
|
||||
|
||||
var msg = {
|
||||
message: 'omg node test',
|
||||
sound: 'magic',
|
||||
title: "Well - this is fantastic",
|
||||
};
|
||||
|
||||
// console.log( p );
|
||||
|
||||
p.send( msg, function( err, result ) {
|
||||
console.log( 'error', err );
|
||||
console.log( 'result', result );
|
||||
// process.exit(0);
|
||||
});
|
Reference in New Issue
Block a user