Fix up from #11166
@@ -22,7 +22,7 @@ describe('wagtailConfig', () => {
it('exists', () => {
expect(WAGTAIL_CONFIG).toEqual(
expect.objectContaining({
- ACTIVE_LOCALE: expect.any(String),
+ ACTIVE_CONTENT_LOCALE: expect.any(String),
LOCALES: expect.any(Array),
}),
);
@@ -35,7 +35,7 @@ const wagtailConfig = {
display_name: 'French',
},
],
- ACTIVE_LOCALE: 'en',
+ ACTIVE_CONTENT_LOCALE: 'en',
};
const configScript = Object.assign(document.createElement('script'), {