RogierdeRuijter
RogierdeRuijter
Is this going to be merged anytime soon? :D
This might be a difficult problem to solve since this a longer running issue as you can see here https://github.com/facebook/jest/issues/9430
Hee @crookse, thanks for your response! Yes the database is defined in another file. This file looks something like this: ```typescript import { MongoClient } from "https://deno.land/x/[email protected]/mod.ts"; export class DB...
I forgot to add this, but I want to test the `endpointMethod` so mocking the entire thing isn't really an option :)
Amazing, thank a lot, will check out soon and let you know! 🙏
This is the workaround I used. Run this code in the connectedCallback: ```javascript const styleTag = document.createElement("style"); styleTag.innerHTML = ; this.shadowRoot.appendChild(styleTag); ```
Would love to see this
My solution was to use fetch to retrieve data and then insert the result into the DOM using JavaScript. I stopped using htmx for this problem.
Same issue, using `cache-and-network` doesn't behave like the docs say it does