feat: add process.uptime() to sandboxed renderers (#26684)

This commit is contained in:
Milan Burda 2020-11-30 08:49:18 +01:00 committed by GitHub
parent c8c41fb727
commit 14c8e000cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 0 deletions

View file

@ -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);