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

22 lines
433 B
JavaScript

require({
baseUrl: "./",
paths: {
"bar/foo": "foo2"
}
},
["require", "bar/baz"],
function(require, baz) {
doh.register(
"relativeNormalize",
[
function relativeNormalize(t){
t.is("baz", baz.name);
t.is("foo2", baz.foo.name);
}
]
);
doh.run();
}
);