Skip to content

Commit

Permalink
Merge pull request #92 from Pearson-Advance/vue/PADV-1340
Browse files Browse the repository at this point in the history
Vue/PADV-1340
  • Loading branch information
01001110J authored Jun 18, 2024
2 parents b52702a + 725e403 commit 3367f27
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 318 deletions.
47 changes: 0 additions & 47 deletions src/features/Instructors/AssignInstructors/AssignTable.jsx

This file was deleted.

74 changes: 0 additions & 74 deletions src/features/Instructors/AssignInstructors/_test_/index.test.jsx

This file was deleted.

41 changes: 0 additions & 41 deletions src/features/Instructors/AssignInstructors/columns.jsx

This file was deleted.

130 changes: 0 additions & 130 deletions src/features/Instructors/AssignInstructors/index.jsx

This file was deleted.

13 changes: 0 additions & 13 deletions src/features/Instructors/AssignInstructors/index.scss

This file was deleted.

9 changes: 0 additions & 9 deletions src/features/Instructors/data/_test_/redux.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
import {
updateCurrentPage,
updateFilters,
updateClassSelected,
addRowSelect,
deleteRowSelect,
resetRowSelect,
Expand Down Expand Up @@ -119,14 +118,6 @@ describe('Instructors redux tests', () => {
expect(store.getState().instructors.filters).toEqual(expectState);
});

test('update classSelected', () => {
const classSelected = 'ccx1';
const expectState = classSelected;

store.dispatch(updateClassSelected(classSelected));
expect(store.getState().instructors.classSelected).toEqual(expectState);
});

test('Add rowsSelected', () => {
const rowSelected = 'Instructor01';
const expectState = rowSelected;
Expand Down
4 changes: 0 additions & 4 deletions src/features/Instructors/data/slice.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ export const instructorsSlice = createSlice({
updateFilters: (state, { payload }) => {
state.filters = payload;
},
updateClassSelected: (state, { payload }) => {
state.classSelected = payload;
},
assignInstructorsRequest: (state) => {
state.assignInstructors.status = RequestStatus.LOADING;
},
Expand Down Expand Up @@ -113,7 +110,6 @@ export const {
fetchInstructorsDataFailed,
resetInstructorsRequest,
updateFilters,
updateClassSelected,
assignInstructorsRequest,
assignInstructorsSuccess,
assignInstructorsFailed,
Expand Down

0 comments on commit 3367f27

Please sign in to comment.