mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 07:37:39 +00:00
chore: move notification test, other refactoring (#111)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import {Link} from '../store/model';
|
||||
import {sendNotification} from '../notification';
|
||||
|
||||
const link: Link = {
|
||||
brand: 'brand',
|
||||
cartUrl: 'http://example.com/',
|
||||
captchaLabels: ['captcha'],
|
||||
model: 'model',
|
||||
oosLabels: ['out of stock'],
|
||||
url: 'http://example.com/'
|
||||
};
|
||||
|
||||
/**
|
||||
* Send test email.
|
||||
*/
|
||||
sendNotification(link.cartUrl ?? link.url, link);
|
||||
Reference in New Issue
Block a user