web-apps/vendor/requirejs/tests/paths/relativeModuleId-tests.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

22 lines
446 B
JavaScript

require({
baseUrl: "./",
paths: {
"array": "impl/array"
}
},
["require", "array"],
function(require, array) {
doh.register(
"relativeModuleId",
[
function relativeModuleId(t){
t.is("impl/array", array.name);
t.is("util", array.utilName);
}
]
);
doh.run();
}
);