4 const assert
= require('assert');
5 const { OTPHTML
} = require('../../../lib/template');
6 const lintHtml
= require('../../lint-html');
8 describe('Template OTPHTML', function () {
10 beforeEach(function () {
14 otpBlurb: ['otp info'],
20 selfBaseUrl: 'https://example.com/',
25 it('renders', function () {
26 ctx
.errors
= ['an error', 'another error'];
27 const result
= OTPHTML(ctx
, options
);
32 it('covers empty error', function () {
33 const result
= OTPHTML(ctx
, options
);