2019-11-05 04:03:21 +00:00
|
|
|
"use strict";
|
2019-10-31 06:07:33 +00:00
|
|
|
|
2019-11-05 04:03:21 +00:00
|
|
|
var Tester = require("../");
|
2019-10-31 06:07:33 +00:00
|
|
|
|
2019-11-05 04:03:21 +00:00
|
|
|
var Manager = require("greenlock-manager-fs");
|
2019-10-31 06:07:33 +00:00
|
|
|
var config = {
|
2019-11-05 04:03:21 +00:00
|
|
|
configFile: "greenlock-manager-test.delete-me.json"
|
2019-10-31 06:07:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
Tester.test(Manager, config)
|
2019-11-05 04:03:21 +00:00
|
|
|
.then(function() {
|
|
|
|
console.log("PASS: Known-good test module passes");
|
|
|
|
})
|
|
|
|
.catch(function(err) {
|
|
|
|
console.error("Oops, you broke it. Here are the details:");
|
|
|
|
console.error(err.stack);
|
|
|
|
console.error();
|
|
|
|
console.error("That's all I know.");
|
|
|
|
});
|