mirror of
https://github.com/eleith/emailjs.git
synced 2024-07-04 19:58:51 +00:00
test/server: verify callback invocation count with assertion plan
This commit is contained in:
parent
58dca3fd4c
commit
f1702dc66f
|
@ -5,6 +5,7 @@ import { client as c, message as m, smtp as s } from '../email';
|
|||
test.cb(
|
||||
'connecting to wrong email server should not invoke callback multiple times',
|
||||
(t) => {
|
||||
t.plan(1);
|
||||
const client = new c.Client({ host: 'bar.baz' });
|
||||
const msg = {
|
||||
from: 'foo@bar.baz',
|
||||
|
|
Loading…
Reference in New Issue
Block a user