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
  
  4.0.0 / 2017-10-02 You might want to read this before filing a new bug! 😝 💥 Breaking Changes For more info, please read this article. Compatibility #3016: Drop support for unmaintained versions of Node.js (@boneskull): 0.10.x 0.11.x 0.12.x iojs (any) 5.x.x #2979: Drop support for non-ES5-compliant browsers (@boneskull): IE7 IE8 PhantomJS 1.x #2615: Drop Bower support; old versions (3.x, etc.) wi
import {ComponentFixture, TestBed, async, ComponentFixtureAutoDetect,} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; import {DebugElement} from '@angular/core'; import {AppComponent} from './app.component'; // describeでテストSuiteを作成 describe('AppComponentのテスト', () => { // テストの中のAppComponent let comp: AppComponent; // ComponentFixtureは、 componentのインスタンスそのものとcomponentのDOM
      
  javascriptまたはEcmaScript6(ES6)のプログラムの品質を保つ方法を、備忘録としてまとめてみたいと思います。 今回は第二回目です。mocha、power-assertを使って、プログラム動作が期待通り書かれているのか検証を行う方法について分かりやすく解説していきたいと思います。 なお前回は、javascriptやES6におけるテスト環境についての概要や、テストの必要性について簡単に触れました。
      
  4.0 has been a huge undertaking by the chai community! A lot has changed to ensure Chai 4 is a stable, reliable, well documented codebase. Here are just some of the major improvements: almost all documentation has been rewritten, with detailed instructions on how assertions work, which flags they can be combined with and the best practices for how to use them. deep equality has been rewritten from
[1300] ./~/power-assert-formatter/lib/string-writer.js 671 bytes {0} [built] [1301] ./~/power-assert-formatter/lib/traverse.js 2.53 kB {0} [built] [1302] ./~/power-assert-formatter/~/acorn/dist/acorn.js 120 kB {0} [built] [1303] ./~/acorn-es7-plugin/acorn-es7-plugin.js 7.9 kB {0} [built] [1304] ./~/power-assert-formatter/lib/esnode.js 1.39 kB {0} [built] [1305] ./~/power-assert-formatter/lib/locat
Thanks to all our contributors, maintainers, sponsors, and users! ❤️ As highlights: We've got coverage now! Testing is looking less flaky \o/. No more nitpicking about "mocha.js" build on PRs. 🎉 Enhancements #2659: Adds support for loading reporter from an absolute or relative path (@sul4bh) #2769: Support --inspect-brk on command-line (@igwejk) 🐛 Fixes #2662: Replace unicode chars w/ hex codes
Chai Immutable This plugin provides a set of Chai assertions for Facebook’s Immutable library for JavaScript collections. Assertions BDD API Reference (Expect / Should) .empty .equal(collection) .referenceEqual(value) .include(value) .keys(key1[, key2[, ...]]) .property(path[, val]) .size(value) TDD API Reference (Assert) .equal(actual, expected) .referenceEqual(actual, expected) .notEqual(actual,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く