Skip to content

Commit

Permalink
Update tests to add TODOs and skip correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mjac0bs committed Sep 26, 2023
1 parent 3d4e3a5 commit b85ace7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ describe('EditCertificateDrawer', () => {
);
});

it('should display pre-populated fields for a TLS cert type when opened', async () => {
// TODO: update and unskip this test before merging
it.skip('should display pre-populated fields for a TLS cert type when opened', async () => {
const onClose = jest.fn();

const { getByLabelText } = renderWithTheme(
Expand All @@ -57,6 +58,7 @@ describe('EditCertificateDrawer', () => {
expect(keyInput).not.toHaveDisplayValue('');
});

// TODO: update and unskip this test before merging
it.skip('should display pre-populated fields for a CA cert type when opened', async () => {
const onClose = jest.fn();

Expand All @@ -76,7 +78,7 @@ describe('EditCertificateDrawer', () => {
expect(certInput).not.toHaveDisplayValue('');
});

it.skip('should have editable fields and be submittable when filled out correctly', async () => {
it('should have editable fields and be submittable when filled out correctly', async () => {
const onClose = jest.fn();

const { getByLabelText, getByTestId } = renderWithTheme(
Expand Down

0 comments on commit b85ace7

Please sign in to comment.