dojo
Version:
Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.
25 lines (20 loc) • 595 B
JavaScript
define([
'intern!object',
'intern/chai!assert',
'sinon',
'require',
'../../../errors/create',
'../../../errors/CancelError',
'../../../_base/declare'
], function (registerSuite, assert, sinon, require, create, CancelError, declare) {
registerSuite({
name: 'dojo/errors/CancelError',
"returns correct result": function () {
//arrange
//act
//assert
assert.equal(CancelError.prototype.name, "CancelError");
assert.equal(CancelError.prototype.dojoType, "cancel");
}
});
});