Tests are now split into these test suites:
unit
: Fast unit tests of individual functions / methodsenzyme
: React component tests using the Enzyme frameworkmain
: Electron-specific tests run in the main processrenderer
: Electron-specific tests run in the renderer processfunctional
: Slow functional test using Spectron (launches the application). For more details, see our functional test README.
You can run any subset of tests with command line flags, for example:
npm test -- --unit
npm test -- --functional
npm test -- --unit --enzyme --renderer