UNPKG

aurelia-validatejs

Version:

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

32 lines (31 loc) 687 B
// import {configure} from '../../src/index'; // // class ConfigStub { // globalResources(...resources) { // this.resources = resources; // } // container = { // registerHandler: function () {} // } // aurelia = { // use: { // globalResources: () => { // // } // } // } // } // // describe('the Aurelia configuration', () => { // var mockedConfiguration; // // beforeEach(() => { // mockedConfiguration = new ConfigStub(); // configure(mockedConfiguration); // }); // // it('should register a global resource', () => { // let mockedConfiguration = []; // expect(mockedConfiguration).not.toEqual(undefined); // }); // });