Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const saveContentToXML = () => {
- if(this.props.message && this.props.message.details){
- fileDownload(this.props.message.details, this.props.message.title);
- }
- }
- TypeError: window.URL.createObjectURL is not a function
- test('Save Content as XML Test', () =>{
- const component = shallow(<Message details={details} />);
- component.instance().saveContentToXML();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement