-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Seems like DeployedBy
property is missing somewhere in the chain for Deployment
object
aka this one is green:
import { Client, DeploymentRepository } from '@octopusdeploy/api-client'
describe('repro', () => {
it('should have DeployedBy', async () => {
const client = await Client.create({
instanceURL: 'https://sample.octopus.app',
apiKey: process.env.OCTOPUS_APIKEY,
userAgentApp: 'sample',
})
const deployments = new DeploymentRepository(client, 'Sample')
const deployment = await deployments.get('Deployments-42')
expect(deployment).toHaveProperty('DeployedBy')
expect(deployment).toMatchObject({ DeployedBy: 'sample@example.com' })
})
})
Metadata
Metadata
Assignees
Labels
No labels