@webtask/cron-auth-middleware
Advanced tools
Comparing version 1.1.1 to 1.2.1
{ | ||
"name": "@webtask/cron-auth-middleware", | ||
"version": "1.1.1", | ||
"version": "1.2.1", | ||
"description": "Webtask middleware that implements cron authentication", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,3 +10,4 @@ 'use strict'; | ||
const lab = Lab.script(); | ||
const { describe, it } = lab; | ||
const describe = lab.describe; | ||
const it = lab.it; | ||
@@ -104,3 +105,5 @@ module.exports = { lab }; | ||
function createMockRunner(webtaskContext = {}) { | ||
function createMockRunner(webtaskContext) { | ||
if (!webtaskContext) webtaskContext = {}; | ||
const middlewareFn = CronAuthMiddleware(); | ||
@@ -107,0 +110,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6086
122