The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
This requires that the first argument to myMock.foo is an array with length 3 or greater.
YUI().use('gallery-mock-value-extras', function(Y) {
Y.Mock.expect(myMock, {
method: "foo",
args: [Y.Mock.Value.ArraySpec({ minLength: 3 })]
});
});
No forum posts for this module.
All code on this site is licensed under the BSD License unless stated otherwise.