mirror of
https://github.com/typemill/typemill.git
synced 2025-10-22 18:16:49 +02:00
test seeding
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const fs = require("fs");
|
||||
const fs = require("fs-extra");
|
||||
|
||||
/// <reference types="cypress" />
|
||||
// ***********************************************************
|
||||
@@ -33,6 +33,15 @@ module.exports = (on, config) => {
|
||||
);
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
prepopulateSetup() {
|
||||
const settings = "settings";
|
||||
const settingsFixture =
|
||||
"cypress/fixtures/01_setup/prepulate_settings_seed/settings";
|
||||
// of course files need to exist in order to perform a delete
|
||||
fs.copySync(settingsFixture, settings);
|
||||
|
||||
return null;
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user