Rebuild beta and campaign file activations
This commit is contained in:
@@ -290,7 +290,13 @@ describe('staged beta files', () => {
|
||||
if (blocked)
|
||||
await expect(request).rejects.toMatchObject({
|
||||
kind: 'conflict',
|
||||
details: [expect.objectContaining({ deploymentId: promotion.deploymentId })]
|
||||
...(operationState === 'waiting'
|
||||
? { message: expect.stringContaining('rebuild') }
|
||||
: {
|
||||
details: [
|
||||
expect.objectContaining({ deploymentId: promotion.deploymentId })
|
||||
]
|
||||
})
|
||||
});
|
||||
else await expect(request).resolves.toMatchObject({ servers: [servers[1]] });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user