UNPKG

base-domain

Version:

simple module to help build Domain-Driven Design

12 lines (5 loc) 203 B
facade = require('../create-facade').create('domain') Hobby = facade.getModel 'hobby' describe 'Entity', -> it 'has isEntity, true', -> expect(Hobby).to.have.property 'isEntity', true