registerEndpoint returning data from a previous registerEnpoint
I have 2 end points for a test...
but when I call the second enpoint, it gives me the data from the first
{query:... content:...}
however if I swap their position in the test code to match the order they are called... it works
I don't understand why the position should matter and the documentation says nothing2 Replies
Did you ever find a reason for this? I am hitting the same issue
I filed a bug https://github.com/nuxt/test-utils/issues/956
GitHub
registerEndpoint fails to register on deep paths · Issue #956 · nux...
Environment Operating System: Linux Node Version: v18.20.3 Nuxt Version: 3.13.2 CLI Version: 3.13.2 Nitro Version: 2.9.7 Package Manager: [email protected] Builder: - User Config: compatibilityDate, devto...