Tags: ffMathy/FluffySpoon.JavaScript.Testing.Faking
Tags
Improve assertion messages when running expectations (#281) * tweak Arg generated description * capture stacktraces on each call * add textBuilder and improve assertion messages * bump to node18 * refactor utilities * replace utilities * add rest of constants and stringifies * replace stringify & raw values * support serialization in different contexts * 2.0.0-beta.4
[ReleaseBranch] Substitute v2-beta: Rework substitution logic (#139) * add ts-node * create linked list classes * minor refactoring * add root substitute graph * replace context with contextNode * add recorded arguments class * add working returns example * update dependencies * add compile key to ava config * refactor existing interfaces This includes SubstituteBase, SubstituteException, Arguments, Utilities * replace linked list implementations with recorder + node * rework substitute implementation * refactor Arguments.ts * Substitute v2-beta: Tests (#231) * move existing tests to regression folder * add RecordedArguments spec * create Utilities spec * Improve perfomance: implement RecordsSet (#232) * improve proxy creation function * use node contexts to simplify node logic * implement custom records set RecordsSet implements the higher order filter and map methods which get applied when retrieving the iterator. This increases performance as it doesn't create arrays on each .map or .filter -> the iterator yields only the end values with one iteration * Add clear substitute (#233) resolves #46 * implement clearSubstitute * add clearSubstitute spec * 2.0.0-beta.0 * refactor and add recorder related specs (#236) * Update package.json Co-authored-by: Mathias Lykkegaard Lorenzen <mathias.lorenzen@live.com>
PreviousNext