failing unit test

This commit is contained in:
Matteo Pagliazzi
2016-01-29 12:07:46 +01:00
parent b960ecdd94
commit e345fa76f5
10 changed files with 34 additions and 48 deletions

View File

@@ -29,7 +29,7 @@ describe('analytics middleware', () => {
attachAnalytics(req, res, next);
expect(res.analytics).to.exist;
expect(res.analytics).to.not.exist;
});
it('attaches stubbed methods for non-prod environments', () => {
@@ -53,4 +53,3 @@ describe('analytics middleware', () => {
expect(res.analytics.trackPurchase).to.eql(analyticsService.trackPurchase);
});
});