kentico-cloud-delivery
Version:
Official Kentico Cloud Delivery SDK
9 lines • 462 B
JavaScript
import { ElementMapper } from '../../../lib/mappers';
describe('ElementMapper', function () {
var elementMapper = new ElementMapper();
it("should throw an Error when invalid response is given", function () {
expect(function () { return elementMapper.mapElement(null); }).toThrowError();
expect(function () { return elementMapper.mapElement(undefined); }).toThrowError();
});
});
//# sourceMappingURL=element-mapper.spec.js.map