greenlock-store-test.js/example.js

15 lines
310 B
JavaScript
Raw Normal View History

'use strict';
2019-04-08 07:45:55 +00:00
//var tester = require('greenlock-store-test');
var tester = require('./');
var store = require('greenlock-store-memory').create({});
tester.test(store).then(function () {
console.info("PASS");
}).catch(function (err) {
console.error("FAIL");
console.error(err);
process.exit(20);
});