Skip to content

Commit

Permalink
fix: adjusted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-warner committed Apr 11, 2024
1 parent 4cfc7b8 commit 5994a77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@ describe('ContentEditorExtension', () => {
},
locales: {
default: ['en'],
available: [{ locale: 'en-gb', language: 'en', country: 'gb', index: 1, selected: true }],
available: [
{ locale: 'en-gb', language: 'en', country: 'gb', index: 1, selected: true, label: '' },
],
},
stagingEnvironment: 'https://test-staging-environment',
visualisation: 'test-visualization',
readOnly: true,
hub: { id: 'hubId', name: 'hubName' },
collaspseByDefault: false,
};

const options = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ describe('ContentFieldExtension', () => {
},
locales: {
default: ['en'],
available: [{ locale: 'en-gb', language: 'en', country: 'gb', index: 1, selected: true }],
available: [
{ locale: 'en-gb', language: 'en', country: 'gb', index: 1, selected: true, label: '' },
],
},
stagingEnvironment: 'https://test-staging-environment',
visualisation: 'test-visualization',
readOnly: true,
hub: { id: 'hubId', name: 'hubName' },
collaspseByDefault: false,
};
it('should create a new instance of ContentFieldExtension', () => {
const connection = new ClientConnection(options);
Expand Down

0 comments on commit 5994a77

Please sign in to comment.