feat: add process.contextId used by @electron/remote (#28251)

* feat: add process.contextId used by @electron/remote

* Update docs/api/process.md

Co-authored-by: Jeremy Rose <jeremya@chromium.org>

Co-authored-by: Milan Burda <milan.burda@gmail.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
This commit is contained in:
trop[bot]
2021-03-18 15:16:46 +09:00
committed by GitHub
parent 0c1ee8ae8b
commit 3b049c9074
6 changed files with 25 additions and 1 deletions

View File

@@ -115,4 +115,10 @@ describe('process module', () => {
expect(success).to.be.false();
});
});
describe('process.contextId', () => {
it('is a string', () => {
expect(process.contextId).to.be.a('string');
});
});
});