Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. const saveContentToXML = () => {
  2. if(this.props.message && this.props.message.details){
  3. fileDownload(this.props.message.details, this.props.message.title);
  4. }
  5. }
  6.  
  7. TypeError: window.URL.createObjectURL is not a function
  8.  
  9. test('Save Content as XML Test', () =>{
  10. const component = shallow(<Message details={details} />);
  11. component.instance().saveContentToXML();
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement