-
Notifications
You must be signed in to change notification settings - Fork 9
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
refactor(ts/components/detourMap): move state up in tree #2364
Conversation
Coverage of commit
|
Coverage of commit
|
fd624b0
to
ce25b30
Compare
Coverage of commit
|
Coverage of commit
|
ce25b30
to
06c7177
Compare
Coverage of commit
|
) | ||
}) | ||
|
||
test("when `undoLastWaypoint` is called, removes the last `waypoint`", async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we also want a test asserting that when undoLastWaypoint
is called, the API is called again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…hapeWithDetour` into `DetourMap`
Co-authored-by: Josh Larson <jlarson@mbta.com>
baef5e3
to
6adef00
Compare
Coverage of commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally think this looks good!
Refactors the state from
<DetourMap/>
into<DiversionPage/>