chore: move notification test, other refactoring (#111)

This commit is contained in:
Jef LeCompte
2020-09-20 13:18:32 -04:00
committed by GitHub
parent a3fc07daf0
commit 2a1f15041e
13 changed files with 40 additions and 32 deletions
-8
View File
@@ -4,7 +4,6 @@ import adblockerPlugin from 'puppeteer-extra-plugin-adblocker';
import {Config} from './config';
import {Store, Stores} from './store/model';
import {Logger} from './logger';
import {sendNotification} from './notification';
import {lookup} from './store';
import async from 'async';
@@ -51,13 +50,6 @@ async function main() {
await browser.close();
}
/**
* Send test email.
*/
if (Config.notifications.test) {
sendNotification('http://test.com/', {brand: 'THE BEST BRAND', model: 'VENTUS', oosLabels: [], url: '', cartUrl: ''});
}
/**
* Will continually run until user interferes.
*/