Skip to content

Commit 3dcf7e3

Browse files
committed
first passing test
1 parent 22017a5 commit 3dcf7e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎lib/runner/paths/runner.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ var flattenedPath = [__dirname, '..', '..', '..', 'node_modules'].concat(constan
77
function getRunner() {
88
var nested = path_1.join.apply(this, nestedPath);
99
var flattened = path_1.join.apply(this, flattenedPath);
10-
console.log('nested: ', nested, 'flattened: ', flattened);
1110
if (node_file_exists_1.default(nested)) {
1211
return nested;
1312
}

‎src/runner/paths/runner.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ export default function getRunner(): string {
1111
const nested = join.apply(this, nestedPath);
1212
const flattened = join.apply(this, flattenedPath);
1313

14-
console.log('nested: ', nested, 'flattened: ', flattened);
15-
1614
if (fileExists(nested)) {
1715
return nested;
1816
} else if (fileExists(flattened)) {

‎test/run.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ const handleResult = (res) => {
77
console.log(res);
88
}
99

10-
const runTest = (testPath) => run({ dir, taskPosition, handleResult, testPath: resolve(__dirname, test, testPath) });
10+
const runTest = (file) => {
11+
const testPath = resolve(__dirname, 'test', file);
12+
run({ dir, taskPosition, handleResult, testPath });
13+
};
1114

1215
describe('basic', () => {
1316

0 commit comments

Comments
 (0)