work in progress with deno
This commit is contained in:
@@ -5,6 +5,7 @@ import login from "./scripts/login.ts";
|
||||
import companySetup, { Company } from "./scripts/admin/companySetup.ts";
|
||||
import path from "node:path";
|
||||
import displaySetup from "./scripts/admin/displaySetup.ts";
|
||||
import moduleSetup from "./scripts/admin/moduleSetup.ts";
|
||||
|
||||
/*
|
||||
Initialisation
|
||||
@@ -69,7 +70,10 @@ const globalCtx = {
|
||||
// await companySetup.setupCompany(globalCtx, company);
|
||||
|
||||
try {
|
||||
await displaySetup.setupDisplay(globalCtx);
|
||||
// await displaySetup.setupDisplay(globalCtx);
|
||||
await moduleSetup.configureModule(globalCtx, {moduleName: 'TIERS' ,enabled: false, onConfiguration: async () => {
|
||||
await globalCtx.page.screenshot({path: 'save.png'})
|
||||
}});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user