console.log("Testing the challenge."); require("dotenv").config(); let accessKeyId = process.env.AWS_ACCESS_KEY_ID , secretAccessKey = process.env.AWS_SECRET_ACCESS_KEY , regionName = process.env.AWS_BUCKET_REGION , bucketName = process.env.AWS_BUCKET_NAME; let tester = require("greenlock-store-test"); let store = require("./index").create({ accessKeyId , secretAccessKey , regionName , bucketName , configDir: "acme/" , accountsDir: "accounts/" , debug: true }); // All of these tests can pass locally, standalone without any ACME integration. tester.test(store).then(() => { console.info("Test completed successfully."); }).catch((err) => { console.error(err.message); throw err; });