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
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
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,
Added expect().withContext() to provide additional information in failure messages Implement withContext for async expectations too Fixes #641 New asynchronous matcher toBeRejectedWith Merges #1615 from @codymikol Closes #1600 Fixes #1595 Show a tip for toBe failures for how to get deep equality Merges #1616 from @tdurtshi Fixes #1614 expectAsync now works with non-native promises Merges #1613 fro
bs-jest is rebranded as rescript-jest rescript-jest depends on Rescript 9.1.4, Jest 27.3.1 and @ryyppy/rescript-promise 2.1.0. Starting from Jest 27.0.0 jest-jasmine was replaced by jest-circus changing the semantics for before and after hooks. afterAllAsync and afterAllPromise hooks now time-out consistent with the behavior of beforeAllAsync and beforeAllPromise in version 0.7.0 of bs-jest. befor
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く