// For complete examples and data files, please go to https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-node const fileName = "sample.mpp"; const localPath = "./Data/" + fileName; const remotePath = "Temp/Data"; const remoteFullPath = remotePath + "/" + fileName; const putRecalculateProjectRequest = new PutRecalculateProjectRequest(); putRecalculateProjectRequest.name = fileName; putRecalculateProjectRequest.fileName = fileName; putRecalculateProjectRequest.folder = remotePath; putRecalculateProjectRequest.mode = CalculationMode.None; putRecalculateProjectRequest.validate = true; const putRecalculateProjectResult = await tasksApi.putRecalculateProject(putRecalculateProjectRequest); expect(putRecalculateProjectResult.body.code).to.equal(200); expect(putRecalculateProjectResult.body.result.validationState).to.equal(ProjectValidationState.Valid);