UNPKG

qgenutils

Version:

A security-first Node.js utility library providing authentication, HTTP operations, URL processing, validation, datetime formatting, and template rendering. Designed as a lightweight alternative to heavy npm packages with comprehensive error handling and

11 lines (9 loc) 274 B
// tests/setup.ts - CommonJS setup let server; beforeAll(async () => { const app = require('../src/app').default || require('../src/app'); server = app.listen(4000, () => console.log('Test server started')); }); afterAll(async () => { if (server) server.close(); });