We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d160227 commit d0ba9f0Copy full SHA for d0ba9f0
__tests__/errors.test.js
@@ -1,5 +1,6 @@
1
// error.test.js
2
-const { handler } = require('./index');
+const { handler } = require('../index'); // go up one level
3
+
4
5
describe('Error handling tests', () => {
6
__tests__/example.test.js
// lambda.test.js
-const { handler } = require('./index'); // replace './index' with your Lambda file
describe('Lambda API tests', () => {
__tests__/users.test.js
// users.test.js
describe('POST /users endpoint', () => {
0 commit comments