Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
dv297 committed Oct 19, 2022
1 parent aec2d5c commit 6c48aef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/sprints.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ describe('Sprints', () => {
it('allows you to add a sprint', () => {
AppPage.sidebar().sprints().click();

cy.findByText(/Add a Sprint/i).should('exist');
cy.findByText(/Add a Sprint/i).click();
cy.findByText(/Create a Sprint/i).should('exist');
cy.findByText(/Create a Sprint/i).click();

AppPage.addSprintForm().nameForm().type('Test Sprint');
cy.findByText(/Submit/i).click();
Expand Down
6 changes: 0 additions & 6 deletions src/components/pages/issue/SprintSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ interface SprintSelectorProps {
initialValue: z.infer<typeof SprintSchema> | null;
}

const getUpdaterFunction =
(tag: string | undefined, propertyName: string) =>
async (textValue: string | null) => {
await IssueService.updateIssue(tag, propertyName, textValue);
};

const UNASSIGNED = 'UNASSIGNED';

const SprintSelector = (props: SprintSelectorProps) => {
Expand Down

1 comment on commit 6c48aef

@vercel
Copy link

@vercel vercel bot commented on 6c48aef Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

planner – ./

planner-git-main-dv297.vercel.app
planner-dv297.vercel.app
planner-nine.vercel.app

Please sign in to comment.