20 lines
493 B
JavaScript
Raw Permalink Normal View History

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