This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const chromeLauncher = require('chrome-launcher'); | |
| const CDP = require('chrome-remote-interface'); | |
| const atob = require('atob'); | |
| const btoa = require('btoa'); | |
| async function main() { | |
| const chrome = await chromeLauncher.launch({ | |
| chromeFlags: [ | |
| '--window-size=1200,800', | |
| '--user-data-dir=/tmp/chrome-testing', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace tests\codeception\common\_support; | |
| use Codeception\Exception\ModuleException; | |
| /** | |
| * | |
| */ | |
| class AcceptanceHelper extends \Codeception\Module |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # JSCoverage | |
| RUN cd /root/ \ | |
| && wget http://siliconforks.com/jscoverage/download/jscoverage-0.5.1.tar.bz2 \ | |
| && tar jxvf jscoverage-0.5.1.tar.bz2 \ | |
| && cd jscoverage-0.5.1/ \ | |
| && ./configure \ | |
| && make \ | |
| && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace common\models; | |
| trait MasterTrait | |
| { | |
| public static function getDb() | |
| { | |
| $connection = clone \Yii::$app->getDb(); | |
| $connection->enableSlaves = false; | |
| return $connection; |
NewerOlder