diff --git a/lib/session.js b/lib/session.js index c55431f7e..a037f0e21 100644 --- a/lib/session.js +++ b/lib/session.js @@ -19,7 +19,7 @@ const savedSessions = {}; * @param {CodeceptJS.LocatorOrString} sessionName * @param {Function | Object} config * @param {Function} [fn] - * @return {Promise<*> | undefined} + * @return {any} */ function session(sessionName, config, fn) { if (typeof config === 'function') {