The xulswordTest.js file provided testing for the libxulsword shared library and libsword Javascript interface. With the migration from xul to React/Electron it is apporpriate to provide this same level of testing utilizing Facebook's jest test harness. We need to update this specific test file along with the yarn/vscode environment such that we can not only test this library but also any other React/Electron component with a minimum of effort.
The xulswordTest.js file provided testing for the libxulsword shared library and libsword Javascript interface. With the migration from xul to React/Electron it is apporpriate to provide this same level of testing utilizing Facebook's jest test harness. We need to update this specific test file along with the yarn/vscode environment such that we can not only test this library but also any other React/Electron component with a minimum of effort.