Skip to content

Commit

Permalink
Fix module include
Browse files Browse the repository at this point in the history
  • Loading branch information
felixge committed Oct 29, 2010
1 parent e724fd5 commit 0bf10a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var sys = require('mysql/sys');

if (module.parent.filename.match(/test\/system/)) {
try {
global.TEST_CONFIG = require('./config.js');
global.TEST_CONFIG = require('./config');
} catch (e) {
console.log('Skipping. See test/config.template.js for more information.');
process.exit(0);
Expand Down

0 comments on commit 0bf10a7

Please sign in to comment.