X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Flib%2Ftemplate%2Fsettings-html.js;h=e4ba5295efaef9929035801bff8b5b5302594154;hb=ff66dd49a1b54935a20ea6e15bd036b8acd5e170;hp=858f1c22435264a0f60d8e4ce9455e444812d2dd;hpb=53ef948ea83106e82d55e60d6695a15e94bf725e;p=squeep-authentication-module diff --git a/test/lib/template/settings-html.js b/test/lib/template/settings-html.js index 858f1c2..e4ba529 100644 --- a/test/lib/template/settings-html.js +++ b/test/lib/template/settings-html.js @@ -1,9 +1,8 @@ /* eslint-env mocha */ 'use strict'; -const assert = require('assert'); +const assert = require('node:assert'); const { SettingsHTML } = require('../../../lib/template'); -const stubLogger = require('../../stub-logger'); const lintHtml = require('../../lint-html'); describe('Template SettingsHTML', function () { @@ -25,7 +24,7 @@ describe('Template SettingsHTML', function () { it('renders, no otp', async function () { ctx.errors = ['an error', 'another error']; - ctx.notifications = ['a notice'] + ctx.notifications = ['a notice']; const result = SettingsHTML(ctx, options); await lintHtml(result); assert(result);