Пример #1
0
 beforeEach(done => {
   const newEngine = memory({});
   const newModel = defineModel({collection, definition, engine: newEngine});
   newModel.setPrimaryKey('id');
   newModelCrud = Crud(newEngine, newModel);
   loadFixtures(newModelCrud).then(() => done());
 });
Пример #2
0
 .then(() => loadFixtures({fullEmployee: employeesCrud}))
Пример #3
0
 .then(() => loadFixtures({persons: personsCrud}))
Пример #4
0
 .then(() => loadFixtures({positions: positionsCrud}))
Пример #5
0
 .then(() => loadFixtures({fullEmployee: crud}))
Пример #6
0
 .then(() => loadFixtures({persons: model}))
Пример #7
0
 .then(() => loadFixtures({positions: positionsModel}))