Add strip whitespace and trailing eol to spec too. (#3159)
This commit is contained in:
committed by
Florent Vilmart
parent
8359284329
commit
37daafc7b0
@@ -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();
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user