mock-browser icon indicating copy to clipboard operation
mock-browser copied to clipboard

Server Side Rendering jQuery with mock-browser

Open ohabash opened this issue 6 years ago • 0 comments

I have an angular app which server side renders my app. Problem is - my app uses jquery so the server goes crazy with errors (ERROR ReferenceError: $ is not defined)

Can mock-browser define jquery OR at least suppress the errors?

ohabash avatar Sep 19 '18 18:09 ohabash