Hi Domenic
Apologies for not seeing your response.
First issue is that I need the "bundle.js" because I am loading t into the GraalJS engine, hence the local attempt.
Second, I tried the "npm run prepublish" locally and that failed with a " verbose stack Error: missing script: prepublish"
Finally I execute "npm run test-browser-worker" and all tests are green.
I also tested the "browserify -r jsdom -o jsdom_bundle.js" suggested in one of the issues but that fails
because no jsdom is found.
With the bundle I generated I get the following error:
Exception in thread "main" ReferenceError: window is not defined
at <js> 549(mdocs/src/mdocs/jsdom_bundle.js:97897:2976181-2976186)
at <js> o(mdocs/src/mdocs/jsdom_bundle.js:1:256-343)
Maybe I am browserifying incorrectly. I assume that the "test-browser-worker" generates the bundle.
Is this true? If so, were does it place this. I am looking and cannot find it.
TIA,