import assert from 'assert-match' import { loose, arrayOf, type } from 'assert-match/matchers' // or const { loose, arrayOf, type } = assert.matchers const actual = { str: 'abc', obj: { b: 1, c: 2 }, nums: [ 1, 2, 'x' ], }, expected = { str: 'abc', obj: loose({ b: 1 }), nums: arrayOf(type('number')), } assert.deepEqual(actual, expected) // AssertionError: { str: 'abc', obj: { b: 1 }, nums: [ 1, 2,
Jest-like snapshot feature for the rest of us + data-driven testing! deprecated please use snap-shot-it - it grabs test instance at runtime, avoiding looking at the source code and getting lost in the transpiled code. snap-shot-jest-test - for testing snap-shot against Jest runner (React + JSX) snap-shot-modules-test - for testing against transpiled ES6 modules snap-shot-vue-test - for testing sna
CodeceptJS is opensource MIT licensed testing framework. Works with your favorite frontend frameworks → Scenario Driven Write acceptance tests from user's perspective. Make tests readable and easy to follow. Driver Agnostic Run your tests via Playwright, WebDriver, Puppeteer, TestCafe, Protractor, Appium. The code is the same. Learn More
Bug Fixes ci: Repaired AppVeyor for Node.js@0.12 (cbfd98c) client: does not throws an error for non DOM object that has tagName property (ba55afb), closes #2139 files: Ignore included:false pattern (db42a7f), closes #1530 helper: Patched replaceWinPath from choking on null values (caa4d21) karma: Escape quotes for file names. This fixes issue #1876. (9dff3f3), closes #1876 #1876 launcher: Allow dy
Accurate and predictable testing of requestAnimationFrame and cancelAnimationFrame. What can raf-stub enable you to do? Step through requestionAnimationFrame calls one frame at a time Continue to call requestionAnimationFrame until there are no frames left. This lets you fast forward to the end of animations. Clear out all animation frames without calling them Control animations that are orchestra
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く