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

22 lines
433 B
JavaScript
Raw Normal View History

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