Supertest custom express server in node January 1, 2024 by Tarik You need to export the app object in server.js: var app = express(); module.exports = app; ...