Wk-notes-11-29-npm-fix-aem-datalayer-test
Last updated
Was this helpful?
Last updated
Was this helpful?
Good link:
Use npm audit fix
Mock global dataLayer
NOT a very good solution, since DataLayer could be injected when the some function being defined (Either due to shitty code or global variable pollution prevention).
Mock a AEM page with <scripts>
src to localhost:PORT
, which is a easy way for local testing with context.