Files
DocumentServer-v-9.2.0/web-apps/vendor/requirejs/tests/packagesNestedMain/packagesNestedMain-tests.js
Yajbir Singh f1b860b25c
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled
updated
2025-12-11 19:03:17 +05:30

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();
});