fix: [AA-1018] api cleanup

Implement review feedback.
Clean up tests
This commit is contained in:
Chris Deery
2022-01-25 14:08:32 -05:00
parent f0f8027de4
commit 7f016e55aa
16 changed files with 71 additions and 74 deletions

View File

@@ -108,7 +108,7 @@ describe('Sequence', () => {
expect(screen.queryByText('The due date for this assignment has passed.')).toBeInTheDocument();
});
expect(screen.getByRole('link', { name: 'progress page' }))
.toHaveAttribute('href', 'http://localhost:18000/courses/course-v1:edX+DemoX+Demo_Course_1/progress');
.toHaveAttribute('href', 'http://localhost:18000/courses/course-v1:edX+DemoX+Demo_Course/progress');
// No normal content or navigation should be rendered. Just the above alert.
expect(screen.queryAllByRole('button').length).toEqual(0);