nodejs-datastore
nodejs-datastore copied to clipboard
test: Add a test to ensure that snapshot reads works for runQuery
This PR ensures that snapshot reads works for both aggregate queries and regular queries. A refactor is needed so that both types of queries can use the code that parses the readTime option.
With the refactor now done in the sum/avg PR, this PR just involves adding a test to ensure that runQuery works for snapshot reads.