Files
dbgate/e2e-tests/cypress.config.js
SPRINX0\prochazka 7f367a1f84 test fixes
2024-12-09 16:52:02 +01:00

16 lines
427 B
JavaScript

const { defineConfig } = require('cypress');
const { clearDataWithBackup } = require('./e2eTestTools');
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
on('before:spec', async details => {
clearDataWithBackup();
// await axios.default.post('http://localhost:3000/connections/reload-connection-list', {});
});
},
},
});