mirror of
https://github.com/encounter/phantomjs.git
synced 2026-03-30 11:35:11 -07:00
9 lines
219 B
JavaScript
9 lines
219 B
JavaScript
var assert = require('../../assert');
|
|
var system = require('system');
|
|
|
|
assert.isTrue(system.hasOwnProperty('pid'));
|
|
|
|
// pid must be a positive integer
|
|
assert.typeOf(system.pid, 'number');
|
|
assert.isTrue(system.pid > 0);
|