Skip to content

Commit 97428fa

Browse files
author
ijz953
committed
docs: removing commented code
1 parent 518223b commit 97428fa

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

projects/ngrx.io/src/app/custom-elements/events/event.service.spec.ts

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('EventService', () => {
6868
});
6969

7070
it('should correct set the date range', () => {
71-
expect(upcomingEvents[0].dateRangeString).toEqual('January 1 - 3, 2019');
71+
expect(upcomingEvents[0].dateRangeString).toEqual('January 1 - 2, 2019');
7272
expect(upcomingEvents[1].dateRangeString).toEqual('April 1, 2019');
7373
expect(upcomingEvents[2].dateRangeString).toEqual('April 2, 2019');
7474
});
@@ -84,23 +84,7 @@ describe('EventService', () => {
8484
expect(pastEvents[1].dateRangeString).toEqual('December 25, 2018 - January 1, 2019');
8585
});
8686
});
87-
88-
// it('should reshape the contributor json to expected result', () => {
89-
// const groupNames = contribs.map(g => g.name).join(',');
90-
// expect(groupNames).toEqual('Angular,GDE');
91-
// });
92-
93-
// it('should have expected "GDE" contribs in order', () => {
94-
// const gde = contribs[1];
95-
// const actualAngularNames = gde.contributors.map(l => l.name).join(',');
96-
// const expectedAngularNames = [testData.jeffcross, testData.kapunahelewong]
97-
// .map(l => l.name)
98-
// .join(',');
99-
// expect(actualAngularNames).toEqual(expectedAngularNames);
100-
// });
10187
});
102-
103-
it('should do WHAT(?) if the request fails');
10488
});
10589

10690
function getTestEventResponse(): EventResponse[] {
@@ -124,7 +108,7 @@ function getTestEventResponse(): EventResponse[] {
124108
url: '',
125109
location: '',
126110
startDate: '01-01-2019',
127-
endDate: '01-03-2019'
111+
endDate: '01-02-2019'
128112
},
129113
{
130114
name: 'conf4',

0 commit comments

Comments
 (0)