Skip to content

Commit 93f9335

Browse files
committed
Move legacy unit tests into unit folder
1 parent 9e262f8 commit 93f9335

File tree

6 files changed

+1
-11
lines changed

6 files changed

+1
-11
lines changed

test/legacy/common.js renamed to test/unit/legacy/common.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
1-
var newCommon = require('../common');
1+
var newCommon = require('../../common');
22
exports.dir = newCommon.dir;
33

44
var path = require('path');
55
var util = require('util');
66

7-
var parent = module.parent.filename;
8-
if (parent.match(/system/) || parent.match(/benchmark/)) {
9-
try {
10-
global.TEST_CONFIG = require('../config');
11-
} catch (e) {
12-
console.log('Skipping. See test/config.template.js for more information.');
13-
process.exit(0);
14-
}
15-
}
16-
177
global.TEST_DB = 'node_mysql_test';
188
global.TEST_TABLE = 'posts';
199
global.TEST_FIXTURES = path.join(__dirname, '../fixture');

0 commit comments

Comments
 (0)