Add smoke test for escape replacement
This commit is contained in:
parent
4d6b0fc01b
commit
2ba937289c
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ describe('TouchBar module', function () {
|
|||
})
|
||||
])
|
||||
window.setTouchBar(touchBar)
|
||||
touchBar.replaceEscapeItem(new TouchBarButton({
|
||||
label: 'foo'
|
||||
}))
|
||||
label.label = 'baz'
|
||||
window.setTouchBar()
|
||||
window.setTouchBar(new TouchBar([new TouchBarLabel({label: 'two'})]))
|
||||
|
|
Loading…
Reference in a new issue