url.createobjecturl is not a function code example Example: jest mock createobjecturl global.URL.createObjectURL = jest.fn();