DocumentServer/OfficeWeb/vendor/requirejs/tests/packagesNestedMain/packagesNestedMain-tests.js
2015-04-28 17:59:00 +03:00

19 lines
345 B
JavaScript

require({
packages: [{
name: 'foo',
main: 'lib/index'
}]
}, ['foo'], function (foo) {
doh.register(
'packagesNestedMain',
[
function packagesNestedMain(t){
t.is('foo', foo.name);
t.is('bar', foo.bar.name);
}
]
);
doh.run();
});