Skip to content

[ADD] proposal upload service #132

[ADD] proposal upload service

[ADD] proposal upload service #132

GitHub Actions / JUnit Test Report failed Apr 29, 2024 in 0s

343 tests run, 342 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in ProposalContractingService revertLocationDecision should revert the location decision

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ProposalContractingService revertLocationDecision should revert the location decision

Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

- Expected
+ Received

  {"_id": "proposalId", "projectAbbreviation": "projectAbbreviation", "save": [Function mockConstructor], "status": "LOCATION_CHECK"},
  "UKL",
  {"email": "[email protected]", "email_verified": true, "firstName": "firstName", "fullName": "fullName", "isFromLocation": false, "isKnownLocation": true, "lastName": "lastName", "miiLocation": "UKL", "roles": ["Researcher"], "singleKnownRole": "Researcher", "userId": "userId", "username": "username"},
+ {"handleEffects": [Function mockConstructor]},

Number of calls: 1
    at Object.<anonymous> (/home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/services/__tests__/proposal-contracting.service.spec.ts:258:38)