You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
6.0.0 / 2019-02-18 💥 Breaking Changes #3149: Drop Node.js v4.x support (@outsideris) #3556: Changes to command-line options (@boneskull): --grep and --fgrep are now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring --grep --compilers is no longer supported; attempting to use will cause Mocha to fail with a link to more information -d is no longer an al
When i run the tests with "--watch" flag and change a .jsx file in this path "./src/components/screens/Proposals/New.jsx" the tests aren't reload. But, if i change a test file (tests/unit/components/screens/Proposals/New.js) the tests are reload. So, i try run pass a regular expression in the flag like "--watch .src/*/.jsx" . The console shows only the jsx files in "components/screens" level. So,
var Mocha = require('mocha'), fs = require('fs'), path = require('path'); // Instantiate a Mocha instance. var mocha = new Mocha(); var testDir = 'some/dir/test' // Add each .js file to the mocha instance fs.readdirSync(testDir).filter(function(file) { // Only keep the .js files return file.substr(-3) === '.js'; }).forEach(function(file) { mocha.addFile( path.join(testDir, file) ); }); // Run the
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く