Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3dcf7e3

Browse files
committed
first passing test
1 parent22017a5 commit3dcf7e3

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
functiongetRunner(){
88
varnested=path_1.join.apply(this,nestedPath);
99
varflattened=path_1.join.apply(this,flattenedPath);
10-
console.log('nested: ',nested,'flattened: ',flattened);
1110
if(node_file_exists_1.default(nested)){
1211
returnnested;
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
constnested=join.apply(this,nestedPath);
1212
constflattened=join.apply(this,flattenedPath);
1313

14-
console.log('nested: ',nested,'flattened: ',flattened);
15-
1614
if(fileExists(nested)){
1715
returnnested;
1816
}elseif(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-
construnTest=(testPath)=>run({ dir, taskPosition, handleResult,testPath:resolve(__dirname,test,testPath)});
10+
construnTest=(file)=>{
11+
consttestPath=resolve(__dirname,'test',file);
12+
run({ dir, taskPosition, handleResult, testPath});
13+
};
1114

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp