micscr
16.07.2018, 13:21
Народ, а как запускать вот такие тесты (https://github.com/yiisoft/yii2/blob/master/tests/js/tests/yii.validation.test.js)?
В доках только сказано:
If you are going to work with JavaScript:
run npm install to install JavaScript testing tools and dependencies (assuming you have Node.js and NPM installed).
Note: JavaScript tests depend on jsdom library which requires Node.js 4 or newer. Using of Node.js 6 or 7 is more preferable.
Это сделал.
p.s. на windows
В доках только сказано:
If you are going to work with JavaScript:
run npm install to install JavaScript testing tools and dependencies (assuming you have Node.js and NPM installed).
Note: JavaScript tests depend on jsdom library which requires Node.js 4 or newer. Using of Node.js 6 or 7 is more preferable.
Это сделал.
p.s. на windows