Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Write unit tests for electron code - Closes #900 #970

Merged
merged 9 commits into from
Nov 15, 2017

Conversation

ginacontrino
Copy link
Contributor

@ginacontrino ginacontrino commented Nov 8, 2017

What was the problem?

We had no tests for the electron code

How did I fix it?

Refactored and added unit ests

How to test it?

  • Run tests
  • Start the electron app and check that it loads without problems
  • Check the menu
  • Check language can still be changed etc

Review checklist

app/src/menu.js Outdated
};

module.exports = menu;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use es6 export instead of 'module.export'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job @ginacontrino

@ginacontrino ginacontrino merged commit aa9dd5e into 1.3.0 Nov 15, 2017
@ginacontrino ginacontrino deleted the 900-electron-tests branch November 15, 2017 08:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants