All files / test-utils/six orm.js

100% Statements 11/11
100% Branches 0/0
100% Functions 1/1
100% Lines 10/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 201x 1x 1x 1x 1x 1x 11x             1x       1x 1x  
const { create } = require('../../src/index');
const Parcel = require('./business-objects/parcel');
const ParcelLineItem = require('./business-objects/parcel-line-item');
const LineItem = require('./business-objects/line-item');
const Order = require('./business-objects/order');
const Customer = require('./business-objects/customer');
const getBusinessObjects = () => [
  Parcel,
  ParcelLineItem,
  LineItem,
  Order,
  Customer
];
const orm = create({
  getBusinessObjects,
  db: void 0
});
module.exports = orm;
module.exports.getBusinessObjects = getBusinessObjects;