mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 05:39:32 +00:00
Add ability to insert test data with custom domain email addresses
This commit is contained in:
@@ -16,7 +16,7 @@ const dbModule = (name) => path.join(__dirname, 'utility/db', name);
|
||||
|
||||
const cleanDb = require(dbModule('cleanDb'));
|
||||
const initDb = require(dbModule('initDb'));
|
||||
const insertTestData = require(dbModule('insertTestData'));
|
||||
const insertTestDataModule = require(dbModule('insertTestData'));
|
||||
|
||||
// Set src and destination paths for css compilation
|
||||
const cssPaths = {
|
||||
@@ -129,6 +129,10 @@ function setConfig(cb) {
|
||||
cb();
|
||||
}
|
||||
|
||||
async function insertTestData() {
|
||||
await insertTestDataModule(process.env.CUSTOM_DOMAIN);
|
||||
}
|
||||
|
||||
// Task to build stylesheet from start to finish
|
||||
exports.styles = series(cleanStyles, compileStyles);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user