Skip to content

Commit

Permalink
forgot to fix few remaining arrow functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tejashah88 committed Jan 31, 2017
1 parent 9432dbb commit f0b2eb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_alexa_app_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("Alexa", function() {
});

it("reponds with expected context applicationId", function() {
return testApp.request(mockRequest).then((response) => {
return testApp.request(mockRequest).then(function(response) {
expect(reqObject.context).to
.have.deep.property(
"System.application.applicationId",
Expand Down Expand Up @@ -299,7 +299,7 @@ describe("Alexa", function() {
returnedAttributeValue = req.getSession().get("AttributeWhichDoesNotExist");
};

return testApp.request(mockRequest).then(() => expect(returnedAttributeValue).to.not.be.undefined);
return testApp.request(mockRequest).then(function() { expect(returnedAttributeValue).to.not.be.undefined; });
});
});
});
Expand All @@ -315,7 +315,7 @@ describe("Alexa", function() {
returnedAttributeValue = req.getSession().get("AttributeWhichDoesNotExist");
};

return testApp.request(mockRequest).then(() => expect(returnedAttributeValue).to.be.undefined);
return testApp.request(mockRequest).then(function() { expect(returnedAttributeValue).to.be.undefined; });
});
});
});
Expand Down

0 comments on commit f0b2eb6

Please sign in to comment.