feat: add process.uptime() to sandboxed renderers (#26684)
This commit is contained in:
parent
c8c41fb727
commit
14c8e000cb
4 changed files with 9 additions and 0 deletions
|
@ -2533,6 +2533,7 @@ describe('BrowserWindow module', () => {
|
|||
expect(test.systemVersion).to.be.a('string');
|
||||
expect(test.cpuUsage).to.be.an('object');
|
||||
expect(test.ioCounters).to.be.an('object');
|
||||
expect(test.uptime).to.be.a('number');
|
||||
expect(test.arch).to.equal(process.arch);
|
||||
expect(test.platform).to.equal(process.platform);
|
||||
expect(test.env).to.deep.equal(process.env);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue