mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-03-04 00:12:58 +08:00
Tests update
This commit is contained in:
parent
c36acbb5f6
commit
3ab228cddf
@ -1229,7 +1229,7 @@ it('Keyboard destroy will work', () => {
|
||||
|
||||
let keyboard = new Keyboard();
|
||||
keyboard.destroy();
|
||||
expect(keyboard.keyboardDOM).toBe(null);
|
||||
expect(keyboard.keyboardDOM.innerHTML).toBe("");
|
||||
});
|
||||
|
||||
it('Keyboard destroy will work with debug option', () => {
|
||||
@ -1237,7 +1237,7 @@ it('Keyboard destroy will work with debug option', () => {
|
||||
|
||||
let keyboard = new Keyboard({ debug: true });
|
||||
keyboard.destroy();
|
||||
expect(keyboard.keyboardDOM).toBe(null);
|
||||
expect(keyboard.keyboardDOM.innerHTML).toBe("");
|
||||
});
|
||||
|
||||
it('Keyboard disableButtonHold will work', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user