chore: Tab title to be empty when creating a new tab (#12773)

* Remove unwanted package lock

* Edit on new and autofocus

* Update test

* Remove autofocus
This commit is contained in:
Geido
2021-02-18 20:14:59 +02:00
committed by GitHub
parent 9335b9c983
commit 409fc83ca9
6 changed files with 57 additions and 15 deletions

View File

@@ -83,7 +83,7 @@ describe('Tabs', () => {
const title = wrapper.find(EditableTitle);
expect(title).toHaveLength(1);
expect(title.find('.editable-title')).toHaveText(
props.component.meta.text,
props.component.meta.defaultText,
);
});