replaceEscapeItem -> setEscapeItem

This commit is contained in:
Kevin Sawicki 2017-03-29 12:46:33 -07:00
parent 7f8e490839
commit 6eacec7dc3

View file

@ -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'