Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add query.js tests * Istanbul ignore branch The else path will never be taken because callbackToPromise which wraps this function call will ensure there is always a `done` function. * Remove unused if callbackToPromise ensures there will always be a `done` function. * Remove test for unused error code path There is error checking for a plain object at `lib/table.js:63` and `Query` is meant to be a private interface so this code path will never be hit. * Remove param validation from Query constructor It is not used because validation id done with Query.validateParams in `lib/table.js`. * Remove checking that Query is a plain object This checking is done in `lib/table.js` so it isn't needed here. * Remove test for cellFormat Move use of cellFormat into select test so that query.test.js can be remove.
- Loading branch information