Browse Source

replaceEscapeItem -> setEscapeItem

Kevin Sawicki 8 years ago
parent
commit
6eacec7dc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/api-touch-bar-spec.js

+ 1 - 1
spec/api-touch-bar-spec.js

@@ -56,7 +56,7 @@ describe('TouchBar module', function () {
         })
       ])
       window.setTouchBar(touchBar)
-      touchBar.replaceEscapeItem(new TouchBarButton({
+      touchBar.setEscapeItem(new TouchBarButton({
         label: 'foo'
       }))
       label.label = 'baz'