UNPKG
webdriverio-automation
Version:
latest (1.0.0)
1.0.0
WebdriverIO-Automation android ios project
webdriverio-automation
/
node_modules
/
fibers
/
test
/
process-title.js
9 lines
(7 loc)
•
206 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
// gh-10
var
Fiber
=
require
(
'fibers'
);
var
title = process.title;
Fiber
(
function
(
)
{ process.title =
'pass'
; }).
run
(); console.
log
(process.title ===
'pass'
|| process.title === title ?
'pass'
:
'fail'
);