Skip to content

Commit e860cb9

Browse files
Add smoke test for array multi type
1 parent e3d810c commit e860cb9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test-smoke/electron/test/main.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import {
2424
systemPreferences,
2525
webContents,
2626
Event,
27+
TouchBar,
2728
} from "electron";
2829

2930
import * as path from "path";
@@ -1141,3 +1142,9 @@ win4.webContents.on("paint", (event, dirty, _image) => {
11411142
});
11421143

11431144
win4.loadURL("http://github.com");
1145+
1146+
const unusedTouchBar = new TouchBar({
1147+
items: [
1148+
new TouchBar.TouchBarButton({ label: '' }),
1149+
],
1150+
});

0 commit comments

Comments
 (0)