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
I have a gallery module, call it "moduleA" that I am developing and conducting unit tests on with "yogi test".
This "moduleA" has a required dependency for another gallery module (say "moduleB") so in a normal use case I would do YUI().use( "moduleA", "moduleB", ....
When I write the unit tests for "moduleA" the tests/unit/index.html looks like
But it seems like "gallery-moduleB" is not loaded (assuming it is relatively recent and is not in the current GA release build) and if I include a YUI config "gallery" property it doesn't seem to load these.
In this case assume that I don't have "moduleB" in the meta/moduleA.json "requires" but just include the dependency explicitly in the YUI.use command.
Is there a way to load existing gallery modules into a new module's "yogi test" unit tests (i.e. gallery: 'gallery-2012.xx.yy-zz') or am I completely doing this wrong ?
The text was updated successfully, but these errors were encountered:
It fails trying to load Y.Template, which is in this module's requires statement.
Not sure if this is because Y.Template is not in the yogi configured yui build, OR how I update the yui build on my system (... don't think I should have to)
I have a gallery module, call it "moduleA" that I am developing and conducting unit tests on with "yogi test".
This "moduleA" has a required dependency for another gallery module (say "moduleB") so in a normal use case I would do
YUI().use( "moduleA", "moduleB", ...
.When I write the unit tests for "moduleA" the tests/unit/index.html looks like
But it seems like "gallery-moduleB" is not loaded (assuming it is relatively recent and is not in the current GA release build) and if I include a YUI config "gallery" property it doesn't seem to load these.
In this case assume that I don't have "moduleB" in the meta/moduleA.json "requires" but just include the dependency explicitly in the YUI.use command.
Is there a way to load existing gallery modules into a new module's "yogi test" unit tests (i.e. gallery: 'gallery-2012.xx.yy-zz') or am I completely doing this wrong ?
The text was updated successfully, but these errors were encountered: