You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works fine normally, but in functional tests through karma, it looks like the runtime is attempting to resolve not-found to a module. This results in the following error:
I tried setting renderer to a handful of other types based on the relevant marko code, but ran into different issues each time. Do you know how I could effectively make this a no-op? Or if there is a better way to achieve the same thing?
The text was updated successfully, but these errors were encountered:
I realize I am slow to reply to this, but it's a little hard to say with the issue is. From what I can tell, maybe both the renderer.js and template.marko are not being found? I think I might need to take a closer a look at your code when you get a chance.
I think you're right - and I think it's because of marko-js-archive/marko-widgets#130
Looks like I might need to artificially require everything that goes through dynamic-tag
For custom dynamic tags, I have a function using the
try-require
module that works as follows:I then use this to determine whether to require a renderer or a template:
This works fine normally, but in functional tests through karma, it looks like the runtime is attempting to resolve
not-found
to a module. This results in the following error:I tried setting renderer to a handful of other types based on the relevant marko code, but ran into different issues each time. Do you know how I could effectively make this a no-op? Or if there is a better way to achieve the same thing?
The text was updated successfully, but these errors were encountered: