Is there a way to pass in a dynamic query value to cy.intercept? It looks like it only accepts a string and regex. Based on a number of variables, the query key and value are entirely dynamic in my api.
I tried
JSON.stringify(myfunction())
but got TS errors