test: fixed test case issue

This commit is contained in:
sundasnoreen12
2025-05-20 17:03:40 +05:00
committed by Muhammad Faraz Maqsood
parent 80dba704da
commit 65c8b8ba4b

View File

@@ -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,