This is a repo for testing Netlify TypeScript functions locally with Jest.
Run
npm install
to install all dependencies.
To check for updates, run:
npm run update
and follow the prompts.
Or you can install the necessary dependencies just for testing and ingnore the rest.
npm i -D netlify-cli @netlify/functions typescript jest @types/jest lambda-tester @types/lambda-tester ts-jest
These are just for mock easy api calls.
npm i node-fetch @types/node-fetch
To start up Netlify CLI, run
npm run start