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

20 lines
450 B
JavaScript

'use strict';
var Tester = require('greenlock-manager-test');
var Manager = require('../');
var config = {
configFile: 'greenlock-manager-test.delete-me.json'
};
Tester.test(Manager, config)
.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.");
});