FOSDEM-2025-keynote/lib/js/extra/headjs/test/unit/0.99/test.conf.js

17 lines
494 B
JavaScript
Raw Normal View History

module("Conf");
// INFO: Must be last test since it is loading HeadJS while running tests, which in turn already relies on HeadJS
// If run as last test in suite it should be ok, since it shouldn't be a problem if we overwrite HeadJS stuff at the end
asyncTest("head_conf", function () {
expect(1);
head_conf = { head: "headJS" };
head.load(libs.head(), function () {
ok(!!headJS, "callback: headJS");
// reset
head = headJS;
start();
});
});