Now power-assert 0.9.0 supports multi-stage sourcemaps. * **power-assert:** * update empower and power-assert-formatter to 0.9.0 ([a84ca4e1](https://github.com/twada/power-assert/commit/a84ca4e1e67e6146452622743915bd78a5f417d0)) * **empower:** * There's no significant changes * **power-assert-formatter:** * [Customizable Renderers](https://github.com/twada/power-assert-formatter/pull/10) * move bu
JavaScript Test-Driven Development with Jasmine 2.0 and Karma AI-enhanced description This document discusses JavaScript test-driven development using Jasmine 2.0 and Karma. It introduces test-driven development principles and benefits, then covers the Karma test runner, PhantomJS browser, and features of the Jasmine testing framework including describe blocks, expectations, matchers, spies, and c
* **power-assert:** * use single index.js ([e8fa666a](https://github.com/twada/power-assert/commit/e8fa666aa8197747ae56ca1a55fb171d30d7534c)) * update empower and power-assert-formatter to 0.8.0 ([8f760aa0](https://github.com/twada/power-assert/commit/8f760aa07271f3bcd52576dc503f3d301d67110c)) * **empower:** * [built and modularized by browserify](https://github.com/twada/empower/pull/12) * use `e
Pretender is a mock server library for XMLHttpRequest and Fetch, that comes with an express/sinatra style syntax for defining routes and their handlers. Pretender will temporarily replace native XMLHttpRequest and Fetch , intercept all requests, and direct them to little pretend service you've defined. ⚠️ Pretender only works in the browser! const PHOTOS = { "10": { id: 10, src: 'http://media.giph
chai というアサーションライブラリがあって、テストフレームワークの Mocha と合わせてよく使われていると思うのだけど、その chai のプラグインを書いた。 chai-deep-closeto このプラグインを使うと配列にも closeTo が使えるようになる。 expect([ 1.5, [ 2.5, 3.5 ], 4.5 ]).to.be.deep.closeTo([ 1, [ 2, 3 ], 4 ], 0.5); chai のプラグイン chai はプラグインで便利機能を拡張する前提で設計されていて、各種プラグインが公開されている。たとえば有名なのではテストスパイとかスタブを扱う Sinon.JS を chai のインターフェースで使える sinon-chai とかがある。他にもある → Chai Plugins chai のプラグインの書きかた 簡単に書ける。プラグインを適
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く