Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 7, 2023
1 parent ab2f1ba commit 98c210d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ describe('showCreateDeploymentDialog', () => {
status: true
});
});

it('should show a dialog with the Create Deployment title and a DeployJobDialog component as its body', async () => {
// Call the function
await showCreateDeploymentDialog();

// Expect the first showDialog function to have been called with the correct parameters
expect(showDialog).toHaveBeenCalledWith({
title: 'Create Deployment',
Expand All @@ -55,7 +55,7 @@ describe('showCreateDeploymentDialog', () => {
name="deployRun"
id="deployRun"
className="jp-vdk-checkbox"
onChange={expect.any(Function)}
onChange={expect.any(Function)}
/>
<label className="checkboxLabel" htmlFor="deployRun">
Run before deployment
Expand All @@ -66,4 +66,4 @@ describe('showCreateDeploymentDialog', () => {
buttons: [Dialog.okButton(), Dialog.cancelButton()]
});
});
});
});

0 comments on commit 98c210d

Please sign in to comment.