Learn how to use Jest to test serverless functions using Next.js API routes. We'll walk through spinning up a new demo project to test with, installing and configuring Jest, and writing tests for a serverless function.
Next.js API Route Demo Starter
github.com/colbyfayock/demo-n...
🗒️ Read More
spacejelly.dev/posts/how-to-t...
🎬 Next Up
How to Use Postman to Test APIs and Manage Collections
• How to Use Postman to ...
Visual Regression Testing Tutorial with Applitools Eyes and Cypress
• Visual Regression Test...
How to Use Github Actions to Automate Tests and Slack Notifications
• How to Use Github Acti...
🔔 Subscribe for more tech and developer videos
ru-vid.com?s...
🐦 Get updates straight to your Twitter @colbyfayock
/ colbyfayock
📸 Catch the next stream live on Twitch @colbyfayock
/ colbyfayock
✉️ Or a newsletter right to your inbox!
www.colbyfayock.com/newsletter/
💝 Sponsor me for more free content like this!
GitHub: github.com/sponsors/colbyfayock
Other: hello@colbyfayock.com
👨🚀 Brought to by colbyfayock.com
www.colbyfayock.com
🎥 Want to know what A/V equipment I use?
www.colbyfayock.com/what-i-use
🧰 More Resources
Next.js API Route Demo Starter
github.com/colbyfayock/demo-n...
Next.js API Routes
nextjs.org/docs/api-routes/in...
Jest
jestjs.io/
@babel/plugin-transform-modules-commonjs
babeljs.io/docs/en/babel-plug...
🎼 Music
Music from Uppbeat (free for Creators!):
uppbeat.io/t/mountaineer/balcony
License code: BVUDPXZUFNDGNZ0H
#colbyfayock #jest #nextjs #testautomation #serverless #apis #webdevelopment
19 авг 2021