Add strip whitespace and trailing eol to spec too. (#3159)

This commit is contained in:
Arthur Cinader
2016-12-01 18:45:49 -08:00
committed by Florent Vilmart
parent 8359284329
commit 37daafc7b0
19 changed files with 38 additions and 36 deletions

View File

@@ -1,11 +1,11 @@
const analyticsAdapter = {
appOpened: function() {},
appOpened: function() {},
trackEvent: function() {}
}
describe('AnalyticsController', () => {
it('should track a simple event', (done) => {
spyOn(analyticsAdapter, 'trackEvent').and.callThrough();
reconfigureServer({
analyticsAdapter
@@ -31,9 +31,9 @@ describe('AnalyticsController', () => {
done();
})
});
it('should track a app opened event', (done) => {
spyOn(analyticsAdapter, 'appOpened').and.callThrough();
reconfigureServer({
analyticsAdapter
@@ -58,4 +58,4 @@ describe('AnalyticsController', () => {
done();
})
})
})
})