Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 307 Bytes

File metadata and controls

11 lines (7 loc) · 307 Bytes

server testing

components of an api

function name(args) => return something;

  • routes/endpoints: url(data) => return response;
  • business logic (validation/data conversion/operations).
  • data access: talk to the persistent data store.

set the test environment to run on 'node' instead of a browser