Adressing comments

This commit is contained in:
Jarosław Sadziński 2023-01-03 17:47:46 +01:00
parent f8795efff8
commit 0bd759a40b
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ export function buildMultiUserManagerModal(
{ style: 'margin: 32px 64px; display: flex;' }, { style: 'margin: 32px 64px; display: flex;' },
bigPrimaryButton('Confirm', bigPrimaryButton('Confirm',
dom.boolAttr('disabled', (use) => !use(enableAdd)), dom.boolAttr('disabled', (use) => !use(enableAdd)),
dom.on('click', () => { save(ctl); }), dom.on('click', () => save(ctl)),
testId('um-confirm') testId('um-confirm')
), ),
bigBasicButton( bigBasicButton(

View File

@ -7,9 +7,9 @@ import {JSDOM} from 'jsdom';
describe('localization', function() { describe('localization', function() {
let instance: i18n; let instance: i18n;
before(() => { before(async () => {
instance = i18next.createInstance(); instance = i18next.createInstance();
void instance.init({ await instance.init({
lng: 'en', lng: 'en',
resources: { resources: {
en: { en: {