feat: [contentTracing] allow calling stopTracing() with no arguments (#18411)
This commit is contained in:
parent
1a609f0caf
commit
815b9d7707
6 changed files with 137 additions and 62 deletions
|
@ -132,5 +132,10 @@ describe('contentTracing', () => {
|
|||
const resultFilePath = await record(/* options */ {}, /* outputFilePath */ '')
|
||||
expect(resultFilePath).to.be.a('string').that.is.not.empty()
|
||||
})
|
||||
|
||||
it('creates a temporary file when no path is passed', async function () {
|
||||
const resultFilePath = await record(/* options */ {}, /* outputFilePath */ undefined)
|
||||
expect(resultFilePath).to.be.a('string').that.is.not.empty()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue