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.
 
 
 
 
 
 

14 lines
455 B

define(["doh", "../Calendar", "dojo/when", "dojo/store/JsonRest"],
function(doh, Calendar, when, JsonRest){
doh.register("tests.unitTest_Store", [
function test_Error(t){
var calendar = new Calendar();
var d = when(calendar.set("store", new JsonRest({ target: "/" }), function(){
t.f(true, "ok fct must not have been called");
}, function(){
t.t(true, "failure fct must have been called");
}));
calendar.startup();
}
]);
});