web-apps/vendor/requirejs/tests/universal/universal-tests.js

16 lines
407 B
JavaScript
Raw Normal View History

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