Files
DocumentServer-v-9.2.0/web-apps/vendor/requirejs/tests/dotTrim/dotTrim-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

18 lines
504 B
JavaScript

require(["require", "spell", "a/../b"], function(require, spell, b) {
doh.register(
"dotTrim",
[
function dotTrim(t){
t.is('spell', spell.name);
t.is('ext', spell.ext.name);
t.is('./util/helper', spell.ext.helperPath);
t.is('b', b.name);
t.is('./b.html', require.toUrl('a/../b.html'));
t.is('helper', spell.ext.helper.name);
}
]
);
doh.run();
});