Skip to content
Snippets Groups Projects
Select Git revision
  • e3e0250f36fb805d2b5df85612ccac6ad987a6d0
  • master default protected
  • 1.31
  • 4.24.3
  • 4.24.2
  • 4.24.1
  • 4.24.0
  • 4.23.6
  • 4.23.5
  • 4.23.4
  • 4.23.3
  • 4.23.2
  • 4.23.1
  • 4.23.0
  • 4.22.3
  • 4.22.2
  • 4.22.1
  • 4.22.0
  • 4.21.0
  • 4.20.1
  • 4.20.0
  • 4.19.0
  • 4.18.0
23 results

Monster.Util.Comparator.html

Blame
  • valid.mjs 474 B
    import {Valid} from "../../../../application/source/constraints/valid.mjs";
    import {expect} from "chai"
    
    describe('Valid', function () {
    
        describe('.isValid()', function () {
            let constraint = new Valid()
    
            it('should resolve promise', function (done) {
                constraint.isValid({}).then(r => {
                    done();
                }).catch(e => {
                    done(new Error("should not reached: " + e));
                })
            });
    
        });
    
    });