generated from openedx/frontend-template-application
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: numPages in pagination adding camelCaseObject.
- Loading branch information
1 parent
2600904
commit d4d86f8
Showing
4 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,23 +14,23 @@ describe('Student Table', () => { | |
test('renders StudentsTable with data', () => { | ||
const data = [ | ||
{ | ||
learner_name: 'Student 1', | ||
learner_email: '[email protected]', | ||
ccx_name: 'CCX 1', | ||
learnerName: 'Student 1', | ||
learnerEmail: '[email protected]', | ||
ccxName: 'CCX 1', | ||
instructors: ['Instructor 1'], | ||
created: 'Fri, 25 Aug 2023 19:01:22 GMT', | ||
first_access: 'Fri, 25 Aug 2023 19:01:23 GMT', | ||
last_access: 'Fri, 25 Aug 2023 20:20:22 GMT', | ||
firstAccess: 'Fri, 25 Aug 2023 19:01:23 GMT', | ||
lastAccess: 'Fri, 25 Aug 2023 20:20:22 GMT', | ||
grade: true, | ||
}, | ||
{ | ||
learner_name: 'Student 2', | ||
learner_email: '[email protected]', | ||
ccx_name: 'CCX 2', | ||
learnerName: 'Student 2', | ||
learnerEmail: '[email protected]', | ||
ccxName: 'CCX 2', | ||
instructors: ['Instructor 2'], | ||
created: 'Sat, 26 Aug 2023 19:01:22 GMT', | ||
first_access: 'Sat, 26 Aug 2023 19:01:24 GMT', | ||
last_access: 'Sat, 26 Aug 2023 21:22:22 GMT', | ||
firstAccess: 'Sat, 26 Aug 2023 19:01:24 GMT', | ||
lastAccess: 'Sat, 26 Aug 2023 21:22:22 GMT', | ||
grade: false, | ||
}, | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters