This is a dedicated watch page for a single video.
You are working on a Node.js project and have written a function sumArray(arr) that takes an array of numbers and returns their sum. You now want to generate comprehensive tests using GitHub Copilot, including tests for edge cases such as an empty array or invalid input. How should you proceed? (Select two)