From f1702dc66f46a299aa8b9000ebbe15ad3889db3a Mon Sep 17 00:00:00 2001 From: Zack Schuster Date: Tue, 26 May 2020 09:06:33 -0700 Subject: [PATCH] test/server: verify callback invocation count with assertion plan --- test/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/server.ts b/test/server.ts index 16afea4..65725b9 100644 --- a/test/server.ts +++ b/test/server.ts @@ -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',