#6436 Definir funcion global que añada ctx #2232

Merged
jon merged 28 commits from 6436_jasmine_beforeAll into dev 2024-07-03 07:56:18 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit ee75068e9c - Show all commits

View File

@ -2,6 +2,7 @@ const {models} = require('vn-loopback/server/server');
describe('setPosition()', () => {
const ctx = beforeAll.getCtx();
beforeAll.mockLoopBackContext();
it('should increase the orders module position by replacing it with clients and vice versa', async() => {
const tx = await models.StarredModule.beginTransaction({});