Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> web >> node-lolex
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: node-lolex  ]

パッケージ: node-lolex (2.2.0-1)

Fake JavaScript timers

JavaScript implementation of the timer APIs; setTimeout, clearTimeout, setImmediate, clearImmediate, setInterval and clearInterval, along with a clock instance that controls the flow of time. Lolex also provides a Date implementation that gets its time from the clock.

Lolex can be used to simulate passing time in automated tests and other situations where you want the scheduling semantics, but don't want to actually wait. Lolex is extracted from Sinon.JS.

その他の node-lolex 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: nodejs
    evented I/O for V8 javascript

node-lolex のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 12.9 kB69 kB [ファイル一覧]