fix crash when passing empty string to recording (#17698)
This commit is contained in:
parent
c4020308c9
commit
2b9bd0f56f
2 changed files with 7 additions and 2 deletions
|
@ -214,8 +214,7 @@ describe('contentTracing', () => {
|
|||
expect(resultFilePath).to.be.a('string').and.be.equal(outputFilePath)
|
||||
})
|
||||
|
||||
// FIXME(alexeykuzmin): https://github.com/electron/electron/issues/16019
|
||||
xit('creates a temporary file when an empty string is passed', async function () {
|
||||
it('creates a temporary file when an empty string is passed', async function () {
|
||||
const resultFilePath = await record(/* options */ {}, /* outputFilePath */ '')
|
||||
expect(resultFilePath).to.be.a('string').that.is.not.empty()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue