From 9ee6a1b5630f80d1cdd44801147ce0735edae588 Mon Sep 17 00:00:00 2001 From: David Thomason <911671+dtom90@users.noreply.github.com> Date: Mon, 20 Apr 2020 18:41:44 -0400 Subject: [PATCH] Update index.js function definition Include String as valid `@param app` type (URL strings) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8fd46dbc..f9bd22ed 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ var http = require('http'); * Test against the given `app`, * returning a new `Test`. * - * @param {Function|Server} app + * @param {Function|Server|String} app * @return {Test} * @api public */