widgettdc-api / tests /setup.js
Kraft102's picture
fix: sql.js Docker/Alpine compatibility layer for PatternMemory and FailureMemory
5a81b95
// Global test setup
beforeAll(() => {
process.env.NODE_ENV = 'test';
process.env.DB_NAME = 'widgettdc_test';
});
afterAll(() => {
// Cleanup connections
});
global.testTimeout = ms => {
jest.setTimeout(ms);
};