Skip to content

Commit

Permalink
yarr, foiled by semicolins again!
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Mar 30, 2017
1 parent d26ce71 commit 36380bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/versioning.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ describe('versioning', function() {
};
assert.equal(versioning.get_process_runtime(mock_process_versions3),'node-webkit');
var mock_process_versions4 = {
"node": '0.8.0'
}
process.env.ELECTRON_RUN_AS_NODE = 1
"node": '0.8.0',
};
process.env.ELECTRON_RUN_AS_NODE = 1;
assert.equal(versioning.get_process_runtime(mock_process_versions4),'electron');
delete process.env.ELECTRON_RUN_AS_NODE
delete process.env.ELECTRON_RUN_AS_NODE;
});

it('should detect abi for electron runtime', function() {
Expand Down

0 comments on commit 36380bd

Please sign in to comment.