fix test failures in text_utility_spec.js on Chrome 60
This commit is contained in:
parent
e289b8cccb
commit
2f35a266e1
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ describe('text_utility', () => {
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
textArea = document.createElement('textarea');
|
textArea = document.createElement('textarea');
|
||||||
document.querySelector('body').appendChild(textArea);
|
document.querySelector('body').appendChild(textArea);
|
||||||
|
textArea.focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
|
|
Loading…
Reference in a new issue