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
{{ message }}
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.
uitest.define('someModule', function(require) {
var otherModule = require('someOtherModule');
}
A module can load dependent modules using the given require argument in the callback.
Every require function has a cache behind it.
A require function can be created using uitest.requireFactory(parentRequire), optionally specifying a parent require function.
This should simply the code of simpleRequire.js a lot, and the parent relationship should also prevent double instantiation of non run modules when they are used by run modules (those under the run folder), which get instantiated for every test anew.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Define a module like this:
A module can load dependent modules using the given
require
argument in the callback.Every
require
function has a cache behind it.A require function can be created using
uitest.requireFactory(parentRequire)
, optionally specifying a parent require function.This should simply the code of
simpleRequire.js
a lot, and the parent relationship should also prevent double instantiation of non run modules when they are used by run modules (those under therun
folder), which get instantiated for every test anew.The text was updated successfully, but these errors were encountered: