JohnAustinDev / xulsword

Automatically exported from code.google.com/p/xulsword
17 stars 6 forks source link

Refactor the xulswordTest.js file for use in the jest environment #272

Open tomr2k opened 2 years ago

tomr2k commented 2 years ago

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.