migrate ResourceAuthenticator into here from separate package
[squeep-authentication-module] / test / lib / template / settings-html.js
index 858f1c22435264a0f60d8e4ce9455e444812d2dd..e4ba5295efaef9929035801bff8b5b5302594154 100644 (file)
@@ -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);