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

16 lines
407 B
JavaScript

require({baseUrl: requirejs.isBrowser ? "./" : "./universal/"}, ["spell"], function(spell) {
doh.register(
"universal",
[
function universal(t){
t.is('spell', spell.name);
t.is('newt', spell.newtName);
t.is('tail', spell.tailName);
t.is('eye', spell.eyeName);
}
]
);
doh.run();
});