kopia lustrzana https://github.com/wagtail/wagtail
rodzic
d80193ff30
commit
39e188d040
|
@ -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'), {
|
||||
|
|
Ładowanie…
Reference in New Issue