db migration 1.0.2, now stores and indexes date of content delivered to subscriber...
[websub-hub] / test / lint-html.js
1 'use strict';
2
3 const assert = require('assert');
4 const stubLogger = require('./stub-logger');
5 const { lint } = require('html-minifier-lint'); // eslint-disable-line node/no-unpublished-require
6
7 function lintHtml(html) {
8 const result = lint(html);
9 stubLogger.debug('lintHtml', '', { result, html });
10 assert(!result);
11 }
12
13 module.exports = lintHtml;