replaceEscapeItem -> setEscapeItem
This commit is contained in:
parent
7f8e490839
commit
6eacec7dc3
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ describe('TouchBar module', function () {
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
window.setTouchBar(touchBar)
|
window.setTouchBar(touchBar)
|
||||||
touchBar.replaceEscapeItem(new TouchBarButton({
|
touchBar.setEscapeItem(new TouchBarButton({
|
||||||
label: 'foo'
|
label: 'foo'
|
||||||
}))
|
}))
|
||||||
label.label = 'baz'
|
label.label = 'baz'
|
||||||
|
|
Loading…
Reference in a new issue