You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
471 B
21 lines
471 B
define([ |
|
'intern!object', |
|
'intern/chai!assert', |
|
'../../loadInit', |
|
'../../_base/loader' |
|
], function (registerSuite, assert, loadInit, loader) { |
|
registerSuite({ |
|
name: 'dojo/loadInit', |
|
|
|
'construction': function () { |
|
assert.equal(loadInit.dynamic, 0); |
|
assert.isDefined(loadInit.normalize); |
|
assert.equal(loadInit.load, loader.loadInit); |
|
}, |
|
|
|
'.normalize': function () { |
|
var id = Math.random(); |
|
assert.equal(loadInit.normalize(id), id); |
|
} |
|
}); |
|
});
|
|
|