web-apps/vendor/requirejs/tests/paths/relativeModuleId-tests.js

22 lines
446 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
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();
}
);