docs: fix contentTracing code sample (#26737)

This commit is contained in:
Jim Fisher 2020-12-01 23:45:45 +00:00 committed by GitHub
parent 94381cda49
commit 430189fa84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ const { app, contentTracing } = require('electron')
app.whenReady().then(() => {
(async () => {
await contentTracing.startRecording({
include_categories: ['*']
included_categories: ['*']
})
console.log('Tracing started')
await new Promise(resolve => setTimeout(resolve, 5000))