greenlock-manager-test.js/tests/index.js

20 lines
493 B
JavaScript
Raw Permalink Normal View History

2019-11-05 04:03:21 +00:00
"use strict";
2019-11-05 04:03:21 +00:00
var Tester = require("../");
2019-11-05 04:03:21 +00:00
var Manager = require("greenlock-manager-fs");
var config = {
2019-11-05 04:03:21 +00:00
configFile: "greenlock-manager-test.delete-me.json"
};
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.");
});