Commits
Giuseppe Digilio authored 34a4f211f13
129 129 | new Community(), |
130 130 | { |
131 131 | metadata: { |
132 132 | newTitleMD, |
133 133 | randomMD, |
134 134 | abstractMD |
135 135 | }, |
136 136 | type: Community.type |
137 137 | }, |
138 138 | ), |
139 - | uploader: {}, |
139 + | uploader: {} as any, |
140 140 | deleteLogo: false |
141 141 | } |
142 142 | ); |
143 143 | }) |
144 144 | }); |
145 145 | |
146 146 | describe('onCancel', () => { |
147 147 | it('should call the back method on the Location service', () => { |
148 148 | comp.onCancel(); |
149 149 | expect(locationStub.back).toHaveBeenCalled(); |