UNPKG

aurelia-orm

Version:

Makes working with entities and calling your Rest API simple.

14 lines (11 loc) 515 B
import {configure} from '../src/aurelia-orm'; import {EntityManager} from '../src/entity-manager'; import {Container} from 'aurelia-dependency-injection'; describe('aurelia-orm', function() { it('Should export a configure method which returns the entityManager', function() { expect(typeof configure).toEqual('function'); configure({container: new Container(), globalResources: function() {}}, function(entityManager) { expect(entityManager instanceof EntityManager).toBe(true); }); }); });