sample skeleton application with dojo toolkit & arcgis js api v 4.30
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.
 
 
 
 
 
 

25 lines
544 B

define([
'intern!object',
'intern/chai!assert',
'../../../cldr/monetary'
], function (registerSuite, assert, monetary) {
registerSuite({
name: 'dojo/cldr/monetary',
'.getData': {
'known special case': function () {
var actual = monetary.getData('ITL');
assert.equal(actual.places, 0);
assert.equal(actual.round, 0);
},
'defaults for cases not specifically defined': function () {
var actual = monetary.getData('USD');
assert.equal(actual.places, 2);
assert.equal(actual.round, 0);
}
}
});
});