refactor: ginify session.netLog (#22732)
This commit is contained in:
parent
e58a35e5aa
commit
c4a7eade28
6 changed files with 41 additions and 72 deletions
|
@ -69,10 +69,7 @@ describe('netLog module', () => {
|
|||
|
||||
expect(testNetLog().currentlyLogging).to.be.true('currently logging')
|
||||
|
||||
expect(testNetLog().currentlyLoggingPath).to.equal(dumpFileDynamic)
|
||||
|
||||
const path = await testNetLog().stopLogging()
|
||||
expect(path).to.equal(dumpFileDynamic)
|
||||
await testNetLog().stopLogging()
|
||||
|
||||
expect(fs.existsSync(dumpFileDynamic)).to.be.true('currently logging')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue