Skip to content

Conversation

@gsoltis
Copy link

@gsoltis gsoltis commented Apr 24, 2018

No description provided.

.toNotContain('foo/bar')
.after(docUpdateRemoteEvent(doc('foo/bar', 1, { it: 'base' }), [1]))
.afterAllocatingQuery(Query.atPath(path('foo')))
.after(docUpdateRemoteEvent(doc('foo/bar', 1, { it: 'base' }), [2]))
Copy link
Contributor

Choose a reason for hiding this comment

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

Here and everywhere: Should we use this.lastTargetId instead of hardcoding targetId 2?

Copy link
Author

Choose a reason for hiding this comment

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

Sadly, we can't. Everything is promise chained, so at the point where the target id is used in defining the step to run, the target allocation hasn't actually happened yet.

@gsoltis gsoltis merged commit b60ffff into master Apr 25, 2018
@gsoltis gsoltis deleted the gsoltis/local_store_tests branch April 25, 2018 20:46
@firebase firebase locked and limited conversation to collaborators Oct 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants