Searched refs:isWorker (Results 1 – 25 of 26) sorted by relevance
12
7 if (!process.env.isWorker) {8 process.env.isWorker = 1;
9 if (!process.env.isWorker) {10 process.env.isWorker = true;
30 if (cluster.isWorker) {
26 } else if (cluster.isWorker) {
39 if (cluster.isWorker) {
32 if (cluster.isWorker) {
10 if (cluster.isWorker) {
47 assert(cluster.isWorker);
27 if (cluster.isWorker) {
11 if (cluster.isWorker) {
28 if (cluster.isWorker) {
34 if (cluster.isWorker) {
36 if (cluster.isWorker) {
52 if (cluster.isWorker) {
52 const stdio = isWorker ? "pipe" : "inherit";97 …const res = cp.spawnSync(isWorker ? `${command} 2>&1` : command, args, { shell: true, stdio, ...op…157 const stdio = isWorker ? "pipe" : "inherit";158 …const res = cp.spawnSync(isWorker ? `${command} 2>&1` : command, args, { timeout: this.timeout, sh…
282 export let isWorker: boolean; variable284 isWorker = handleTestConfig();285 if (isWorker) {
5 function getTestCases(isWorker = false) { argument122 result: isWorker ? 1 : 7,
14 if (self.GLOBAL.isWorker()) {
28 cluster.isWorker = true;
281 if (cluster.isWorker && !exclusive) {345 if (cluster.isWorker && !exclusive) {
431 } else if (cluster.isWorker) {646 } else if (cluster.isWorker) {869 ## `cluster.isWorker`1040 } else if (cluster.isWorker) {1052 } else if (cluster.isWorker) {