Skip to content

Commit

Permalink
Fix test under vows
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Sep 12, 2014
1 parent 47d8857 commit 9e39150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/transports/file-open-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'An instance of the File Transport': {
topic: function () {
var callback = this.callback.bind(this),
logPath = path.resolve(process.cwd(), '../fixtures/logs/file-open-test.log');
logPath = path.resolve(__dirname, '../fixtures/logs/file-open-test.log');

try {
fs.unlinkSync(logPath);
Expand Down
2 changes: 1 addition & 1 deletion test/transports/file-stress-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'A stressed instance of the File Transport': {
topic: function () {
var callback = this.callback.bind(this),
logPath = path.resolve(process.cwd(), '../fixtures/logs/file-stress-test.log');
logPath = path.resolve(__dirname, '../fixtures/logs/file-stress-test.log');

try {
fs.unlinkSync(logPath);
Expand Down

0 comments on commit 9e39150

Please sign in to comment.