Tags: huanlui/FluffySpoon.JavaScript.Testing.Faking
Tags
Fix received optional parameter issue and better debuggability (ffMat… …hy#81) * fix ffMathy#59 * add substitute base class, exceptions and methods enum * replace harcoded values with custom centralized ones * update test regex * change SubstituteBase naming * remove duplicate key
Implement throws and mimicks behaviour fix (ffMathy#80) * upgrade lockfile * fix deepEqual different classes should not be equal * implement throws and fix mimicks ignoring arguments * add unit test for throws * add documentation for throwing exceptions
Fix for .returns object inequality (ffMathy#79) * fix objects inequality as arguments When a property / method is mocked with returns, and one of the arguments is an object (or a class or a function), the `areArgumentsEqual` function in utilities failed to verify. It executed the default behaviour `a === b`, which is never true for objects (only if a and b have the same object reference) * return substitute string for util.inspect * proxies based on SubstituteJS class * fix inspect deprecation warning * fix issue ffMathy#36
Implement didNotReceive and bug fixes (ffMathy#78) * upgrade dependencies * audit fix * implement didNotReceive * fix incorrect state checkings * fix tests
Add tests for didNotReceive (ffMathy#75) * Add tests for didNotReceive ffMathy#72 * Add t.pass() * Swap didNotReceived calls
Revert "Add tests for didNotReceive ffMathy#72 (ffMathy#73)" (ffMathy#74 ) This reverts commit e01c793.
PreviousNext