wekan/packages/wekan-cfs-reactive-property/tests.js
2021-04-29 13:26:49 +03:00

30 lines
605 B
JavaScript

"use strict";
function equals(a, b) {
return !!(JSON.stringify(a) === JSON.stringify(b));
}
Tinytest.add('ReactiveProperty - test', function(test) {
//TODO
});
//Test API:
//test.isFalse(v, msg)
//test.isTrue(v, msg)
//test.equalactual, expected, message, not
//test.length(obj, len)
//test.include(s, v)
//test.isNaN(v, msg)
//test.isUndefined(v, msg)
//test.isNotNull
//test.isNull
//test.throws(func)
//test.instanceOf(obj, klass)
//test.notEqual(actual, expected, message)
//test.runId()
//test.exception(exception)
//test.expect_fail()
//test.ok(doc)
//test.fail(doc)
//test.equal(a, b, msg)