stub-azure-function-context
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "stub-azure-function-context", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Provides an object similar to Function Runtime's context for use in unit testing", | ||
@@ -5,0 +5,0 @@ "main": "stub-azure-function-context.js", |
@@ -43,6 +43,6 @@ 'use strict'; | ||
if (triggers === undefined) { | ||
triggers = deepCopy(defaultTriggers); | ||
triggers = deepCopy(defaultTriggers); // eslint-disable-line no-param-reassign | ||
} | ||
if (outputs === undefined) { | ||
outputs = deepCopy(defaultOutputs); | ||
outputs = deepCopy(defaultOutputs); // eslint-disable-line no-param-reassign | ||
} | ||
@@ -49,0 +49,0 @@ return new Promise((resolve, reject) => { |
@@ -88,5 +88,5 @@ 'use strict'; | ||
context.done(); | ||
}) | ||
}); | ||
}); | ||
}); | ||
}); |
13139