Skip to content

Commit e8d6bdc

Browse files
committed
Fix linting
1 parent bc79609 commit e8d6bdc

1 file changed

Lines changed: 23 additions & 21 deletions

File tree

e2e/transform/transform-runner/runner.ts

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,30 +38,32 @@ export default class BaseTestRunner {
3838
(promise, test) =>
3939
mutex(() =>
4040
promise
41-
.then(async () : Promise<TestResult> => {
42-
await onStart(test);
43-
return {
44-
...createEmptyTestResult(),
45-
numPassingTests: 1,
46-
testFilePath: test.path,
47-
testResults: [
48-
{
49-
ancestorTitles: [],
50-
duration: 2,
51-
failureMessages: [],
52-
fullName: 'sample test',
53-
location: null,
54-
numPassingAsserts: 1,
55-
status: 'passed',
56-
title: 'sample test',
57-
},
58-
],
59-
};
60-
})
41+
.then(
42+
async (): Promise<TestResult> => {
43+
await onStart(test);
44+
return {
45+
...createEmptyTestResult(),
46+
numPassingTests: 1,
47+
testFilePath: test.path,
48+
testResults: [
49+
{
50+
ancestorTitles: [],
51+
duration: 2,
52+
failureMessages: [],
53+
fullName: 'sample test',
54+
location: null,
55+
numPassingAsserts: 1,
56+
status: 'passed',
57+
title: 'sample test',
58+
},
59+
],
60+
};
61+
}
62+
)
6163
.then(result => onResult(test, result))
6264
.catch(err => onFailure(test, err))
6365
),
6466
Promise.resolve()
6567
);
6668
}
67-
}
69+
}

0 commit comments

Comments
 (0)