Skip to content

Commit

Permalink
Fix dist package.json version
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 5, 2016
1 parent 320dd01 commit 2768fcf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-debugger",
"version": "0.1.0",
"version": "0.2.0",
"productName": "React Native Debugger",
"description": "The standalone app for React Native Debugger, with React DevTools / Redux DevTools",
"main": "main.js",
Expand Down
6 changes: 6 additions & 0 deletions test/e2e/app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ describe('Application launch', function spec() {
}
});

it(`should be v${process.env.npm_package_version}`, async () => {
const { electron } = this.app;
const version = await electron.remote.app.getVersion();
expect(version).toBe(process.env.npm_package_version);
});

it('should show an initial window', async () => {
const { client, browserWindow } = this.app;

Expand Down

0 comments on commit 2768fcf

Please sign in to comment.