Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circuit #5

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

JohnDoePlusPlus
Copy link

No description provided.

Copy link
Member

@dimadeveatii dimadeveatii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the implementation. Please cover also with unit tests each file.

lib/circuit/CircuitOptions.ts Outdated Show resolved Hide resolved
lib/utils/isPromiseLike.ts Outdated Show resolved Hide resolved
lib/circuit/factories/circuitStateStorageFactory.ts Outdated Show resolved Hide resolved
lib/circuit/factories/circuitStateFactory.ts Outdated Show resolved Hide resolved
lib/circuit/CircuitState/CircuitState.ts Outdated Show resolved Hide resolved
lib/circuit/CircuitState/CircuitState.ts Outdated Show resolved Hide resolved
implement factories as class (not function)
move each factory to its entity folde
change isPromise function
add tests for CircuitState and its factory
and tests for Policies and their factory
lib/circuit/CircuitState/factory.ts Outdated Show resolved Hide resolved
lib/circuit/CircuitStateStorage/factory.ts Outdated Show resolved Hide resolved
lib/circuit/CircuitState/CircuitState.ts Outdated Show resolved Hide resolved
lib/circuit/CircuitState/CircuitState.ts Outdated Show resolved Hide resolved
lib/circuit/Policy/factory.ts Outdated Show resolved Hide resolved
lib/utils/isPromise.ts Outdated Show resolved Hide resolved
change isPromise to isPromiseLike
add more tests
remove from factories one line functions
add spies
rename policy methods
CircuitState separate code in methods
CircuitState separate code in methods
and rename removeExecution method to registerCall
add unit test (now everything is tested)
change implementation of CircuitState and ArgumentsCircuitStateStorage
to avoid memory leaks
improve unit tests
JohnDoePlusPlus and others added 2 commits November 22, 2019 19:03
improve tests
improve all factories
adjust unit tests for factories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants