test: fixed test case issue
This commit is contained in:
committed by
Muhammad Faraz Maqsood
parent
80dba704da
commit
65c8b8ba4b
@@ -243,7 +243,7 @@ describe('<CourseOutline />', () => {
|
||||
async () => fireEvent.change(optionDropdown, { target: { value: VIDEO_SHARING_OPTIONS.allOff } }),
|
||||
);
|
||||
|
||||
expect(axiosMock.history.post.length).çÏ(2);
|
||||
expect(axiosMock.history.post.length).toBe(2);
|
||||
expect(axiosMock.history.post[1].data).toBe(JSON.stringify({
|
||||
metadata: {
|
||||
video_sharing_options: VIDEO_SHARING_OPTIONS.allOff,
|
||||
|
||||
Reference in New Issue
Block a user