title: If I write tests for database calls then I'm writing unit tests or integration tests?
body: <p>I am starting to write tests for database calls and queries. But I was wondering, since it doesn't depend on any other function, then writing test for database calls are unit tests?</p>
  <p>Edit: This is around a Node.js environment</p>