public function JavascriptEvaluationTest::provideEvaluatedScript in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/driver-testsuite/tests/Js/JavascriptEvaluationTest.php \Behat\Mink\Tests\Driver\Js\JavascriptEvaluationTest::provideEvaluatedScript()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Js/ JavascriptEvaluationTest.php, line 72
Class
Namespace
Behat\Mink\Tests\Driver\JsCode
public function provideEvaluatedScript() {
return array(
array(
'1 + 1',
),
array(
'1 + 1;',
),
array(
'return 1 + 1',
),
array(
'return 1 + 1;',
),
array(
'function () {return 1+1;}()',
),
array(
'(function () {return 1+1;})()',
),
array(
'return function () { return 1+1;}()',
),
array(
'return (function () {return 1+1;})()',
),
);
}