Spectrum is now read-only. Learn more about the decision in our official announcement.


Electron to NPM

April 26, 2019 at 12:59pm
Hi, at the moment doing a lot of research to make testing (Jest) more interesting and efficient in a professional environment (Internship). So I came across Majestic and would like to know why the switch from Electron to NPM? And maybe a stupid question, but how is Majestic getting its data from Jest? Are you guys using the reporter option or is it build totally different?

May 21, 2019 at 6:17am
Sorry for the late reply.
There are few reasons for the switch.
  • An electron app in 3 platforms requires a significant effort to maintain. Building, signing, publishing and updating requires effort where an npm module is a much less effort.
  • Not everyone likes electron app since they are resource intensive but almost all of the JS devs have npm installed alreay so an npm module combined with npx makes the effort to get started significantly lower.
No question is stupid :)
Yes we use jest reporter to get real-time feedback from the test runner. You can take a look at our reporter over here.
The previous version of Majestic used to use but we moved away from it because it doesn't support realtime feedback yet.