Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

notanengineercom
Copy link
Collaborator

Introduces the concept of using the library to test the library

@notanengineercom notanengineercom added wip Work in progress - should not merge hacktoberfest-accepted ✨v2 release labels Oct 31, 2021
@notanengineercom notanengineercom self-assigned this Oct 31, 2021
@notanengineercom notanengineercom changed the title Add more tests [v2] Add more tests Oct 31, 2021
@notanengineercom notanengineercom changed the title [v2] Add more tests Add more tests Oct 31, 2021
@ffMathy ffMathy merged commit 0bb0590 into v2-beta Jun 2, 2022
@ffMathy ffMathy deleted the v2-more-tests branch June 2, 2022 07:20
ffMathy added a commit that referenced this pull request Jun 2, 2022
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted ✨v2 release wip Work in progress - should not merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants