Remove e2e folder
This commit is contained in:
8
tests/global-setup.js
Normal file
8
tests/global-setup.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const { setupFirmwareSymlink, cleanupFirmwareSymlink, hasFirmwareZip } = require('./helpers/assets');
|
||||
|
||||
module.exports = function globalSetup() {
|
||||
if (hasFirmwareZip()) setupFirmwareSymlink();
|
||||
|
||||
// Return a teardown function (Playwright >= 1.30)
|
||||
return () => cleanupFirmwareSymlink();
|
||||
};
|
||||
Reference in New Issue
Block a user