UNPKG

aurelia-validatejs

Version:

This is a plugin that will allow using validate.js in your Aurelia application for expressive validation.

12 lines (11 loc) 380 B
// import {observeProperty} from 'src/property-observer'; // import {ValidationRule} from 'src/validation-rule'; // // describe('observeProperty', () => { // it('adds a getter and setter to the property', () => { // let object = { // name: 'Testing' // }; // let result = new observeProperty(object, 'name', {}, null, ValidationRule.presence); // }); // });