The dev channel on the CI currently fails, this is because it tries to build on atom's master branch which uses electron 5. Electron 5's API has a slight change in the values used in making the tests assertions. This PR helps to conditionally implement the assertions based on the channel the CI is using.
Description of the Change
The dev channel on the CI currently fails, this is because it tries to build on atom's master branch which uses electron 5. Electron 5's API has a slight change in the values used in making the tests assertions. This PR helps to conditionally implement the assertions based on the channel the CI is using.
fixes https://github.com/atom/teletype/issues/514