mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-15 15:37:36 +00:00
Merge pull request #12526 from overleaf/jpa-delete-redundant-assignment
[web] delete redundant variable assignment in tests GitOrigin-RevId: 2876e217eb21a886dc2c8b251b7208de1b5ea349
This commit is contained in:
parent
0146b72885
commit
c35da85ad8
1 changed files with 1 additions and 2 deletions
|
@ -813,10 +813,9 @@ describe('<ProjectListRoot />', function () {
|
|||
let confirmButton =
|
||||
within(modal).getByText<HTMLButtonElement>('Rename')
|
||||
expect(confirmButton.disabled).to.be.true
|
||||
let input = screen.getByLabelText('New Name') as HTMLButtonElement
|
||||
|
||||
// no name
|
||||
input = screen.getByLabelText('New Name') as HTMLButtonElement
|
||||
const input = screen.getByLabelText('New Name') as HTMLButtonElement
|
||||
fireEvent.change(input, {
|
||||
target: { value: '' },
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue