removelevelbutton tests

This commit is contained in:
realaravinth
2021-05-07 21:14:15 +05:30
parent d42a9c6bb8
commit 7e0670d1d8
11 changed files with 290 additions and 45 deletions

View File

@@ -17,6 +17,7 @@
import CONST from '../../const';
import log from '../../../../../../logger';
/** update input IDs with new level */
const updateInput = (levelGroup: Element, newLevel: number) => {
const inputs = <NodeListOf<HTMLInputElement>>(
levelGroup.querySelectorAll(`.${CONST.LEVEL_INPUT_CLASS}`)