Skip to content

Commit

Permalink
Write to tmp folder when testing history write
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanHoyer committed Jan 2, 2013
1 parent be2f628 commit 19481a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -42,7 +42,7 @@ describe('chuk', function() {

it('should write to default history file', function() {
var command = 'var i = 1;'
, path = '.repl_history';
, path = process.env.REPL_HISTORY = '/tmp/.repl_history';

repl = chuk(null, config);
repl.rli.emit('line', command)
Expand Down

0 comments on commit 19481a5

Please sign in to comment.