Upgrade typescript to v3.1 & tslint (was dependent on some deprecated methods of the old version of ts) also fix associated type errors
Next up Im gonna try to use the project references feature of ts 3.0 to see if building all the various oni sub-projects can be simplified
* Filter out sneaks that are outside of the viewport
* Filter sneak rectangles
* Fix regression in building the browser hook
* Don't add invisible elements to sneak in the browser window
* Update test with case for filtering
* add jest codemod
* add components test and tweak tsconfig.test.json
* [wip] add unit tests for react components
* configure tests for ui tweak command so tests are found
* add commandline unit test
* change test name
* tweak path for tsx... again
* rename test again not catching tsx, add babel register
* add browser/test/components/
* move test files...
* add initial enzyme and jest config for unit tests
* add types for redux mock store
* add snapshots dir
* fix state structure in tests
* really fix state structure
* add react tests to unit
* remove unused setup file
* remove unneeded deps carelessly left behind
* fix yarn lock
* add exclusion for jest types
* add exclusion for jest types in browser config
* specify node modules types for jest
* exclude jest types in tsconfig
* add jest types to exclusion in tsconfig
* try using name jest in exclusion array
* retry node_modules/@types/jest
* exclude tests folder
* try without jest types
* try glob in exclude
* remove automatic global types specify mocha types in test folder
* ignore ui tests in tsconfig
* move jest tests to ui folder
* add jest tsconfig, mocks and minimal typing for sudo-prompt
* fix lint errors
* fix lint errors
* fix missing if filter in config change
* attempts to fix module resolution issues
* add mocks for dependencies
* add mock files for utitility persistent settings and config
* disable automatic global types in webview tsconfig
* fill out webview tsconfig
* alphabetize imports in browser view
* add command to test react components to package
* revert irrelevant changes to tsconfigs
* add a few extra tests
* fix typo rerun tests
* add quick info snapshot test
* join lines in docs test with os.eol
* add jest.config.ts and remove settings from package json
* fix some shuffling in unrelated files
* add config to collect coverage