Skip to content

Commit b9aa71b

Browse files
Add touchbar smoke tests
1 parent e860cb9 commit b9aa71b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

test-smoke/electron/test/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,5 +1146,6 @@ win4.loadURL("http://github.com");
11461146
const unusedTouchBar = new TouchBar({
11471147
items: [
11481148
new TouchBar.TouchBarButton({ label: '' }),
1149+
new TouchBar.TouchBarLabel({ label: '' }),
11491150
],
11501151
});

test/output_spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ describe('Definition File', function () {
2121
spawn('node', ['cli.js', '-o=electron.d.ts'], {
2222
cwd: path.resolve(__dirname, '..')
2323
}).on('exit', () => done())
24-
done()
2524
})
2625

2726
it('should output a electron.d.ts file', () => {

0 commit comments

Comments
 (0)