Skip to content

Commit a8c907a

Browse files
committed
fix: product-tours tests
1 parent fcbdea2 commit a8c907a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/product-tours/ProductTours.test.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import React from 'react';
66
import { Route, Routes } from 'react-router-dom';
77
import { Factory } from 'rosie';
8-
import { getConfig, history } from '@edx/frontend-platform';
8+
import { getConfig, history, mergeConfig } from '@edx/frontend-platform';
99
import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';
1010
import { AppProvider } from '@edx/frontend-platform/react';
1111
import MockAdapter from 'axios-mock-adapter';
@@ -287,6 +287,9 @@ describe('Courseware Tour', () => {
287287
it.each([true, false])(
288288
'should load courseware checkpoint correctly if tour enabled is $showCoursewareTour',
289289
async (showCoursewareTour) => {
290+
mergeConfig({
291+
ENABLE_SEQUENCE_NAVIGATION: true,
292+
}, 'Add configs for sequence navigation');
290293
axiosMock.onGet(tourDataUrl).reply(200, {
291294
course_home_tour_status: 'no-tour',
292295
show_courseware_tour: showCoursewareTour,

0 commit comments

Comments
 (0)