Simplify failure test

This commit is contained in:
josieusa 2017-01-10 17:03:54 +01:00
parent 1c54dd264d
commit 626b546258
1 changed files with 1 additions and 3 deletions

View File

@ -141,10 +141,8 @@ describe('LoopBack Context', function() {
var whenPromise = whenV377.promise(function(resolve) {
setTimeout(resolve, timeout);
});
whenPromise.then(function pullFromContext() {
whenPromise.then(function pullFromContextAndReturn() {
var pulledValue = ctx && ctx.get('test-key');
return pulledValue;
}).then(function returnValues(pulledValue) {
outerResolve({
pulledValue: pulledValue,
pushedValue: pushedValue,