Skip to content
Snippets Groups Projects
Select Git revision
  • 18583969385629f785da8a91cee74c4338041fb7
  • 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.mjs

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));
                })
            });
    
        });
    
    });