Skip to content

Commit 62b89ea

Browse files
committed
Apply code style fix
1 parent be0e2e9 commit 62b89ea

File tree

3 files changed

+33
-7
lines changed

3 files changed

+33
-7
lines changed

__tests__/swift-xunit.test.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ describe('swift-xunit tests', () => {
1313
const filePath = normalizeFilePath(path.relative(__dirname, fixturePath))
1414
const fileContent = fs.readFileSync(fixturePath, {encoding: 'utf8'})
1515

16-
const trackedFiles = [
17-
'Package.swift',
18-
'Sources/AcmeLib/AcmeLib.swift',
19-
'Tests/AcmeLibTests/AcmeLibTests.swift',
20-
]
16+
const trackedFiles = ['Package.swift', 'Sources/AcmeLib/AcmeLib.swift', 'Tests/AcmeLibTests/AcmeLibTests.swift']
2117
const opts: ParseOptions = {
2218
parseErrors: true,
2319
trackedFiles

dist/index.js

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/parsers/dart-json/dart-json-parser.ts

+10-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ import {
2929
} from '../../test-results'
3030

3131
class TestRun {
32-
constructor(readonly path: string, readonly suites: TestSuite[], readonly success: boolean, readonly time: number) {}
32+
constructor(
33+
readonly path: string,
34+
readonly suites: TestSuite[],
35+
readonly success: boolean,
36+
readonly time: number
37+
) {}
3338
}
3439

3540
class TestSuite {
@@ -74,7 +79,10 @@ class TestCase {
7479
export class DartJsonParser implements TestParser {
7580
assumedWorkDir: string | undefined
7681

77-
constructor(readonly options: ParseOptions, readonly sdk: 'dart' | 'flutter') {}
82+
constructor(
83+
readonly options: ParseOptions,
84+
readonly sdk: 'dart' | 'flutter'
85+
) {}
7886

7987
async parse(path: string, content: string): Promise<TestRunResult> {
8088
const tr = this.getTestRun(path, content)

0 commit comments

Comments
 (0)