Files
nebula.js/test/mashup/setup.cjs
Tobias Åström 8a6c2817a0 chore: convert mashup tests (#1770)
* chore: start migrate mashup tetss

* chore: rename file

* chore: add log

* chore: mashup test config

* chore: higher timeout

* chore: more config

* chore: reporter

* chore: change config

* chore: change config

* chore: change config

* chore: change config

* chore: store artifacts

* chore: longer timeout

* chore: migrate listbox test

* chore: update waitForFunc
2025-06-19 16:21:09 +02:00

11 lines
253 B
JavaScript

const server = require('./server.cjs');
module.exports = async () => {
const s = await server();
process.env.BASE_URL = s.url;
// Optionally return a teardown function or data
return async () => {
if (s && s.close) await s.close();
};
};