Skip to content

Commit 93e1f2d

Browse files
committed
fix: formatting
1 parent 7fc54a3 commit 93e1f2d

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

packages/vscode-wdio-worker/src/utils.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ const VSCODE_WINDOWS_CONFIG_CREATOR_PATH = path.resolve(__dirname, 'parser/ast.c
1010
let tempConfigCreator: TempConfigFileCreator | undefined
1111

1212
export async function getTempConfigCreator(context: WorkerMetaContext): Promise<TempConfigFileCreator> {
13-
if (tempConfigCreator){
13+
if (tempConfigCreator) {
1414
context.log.debug('Use cached TempConfigFileCreator')
1515
return tempConfigCreator
1616
}
1717
context.log.debug('Import TempConfigFileCreator')
18-
tempConfigCreator =((await import(VSCODE_WINDOWS_CONFIG_CREATOR_PATH)).createTempConfigFile as TempConfigFileCreator)
18+
tempConfigCreator = (await import(VSCODE_WINDOWS_CONFIG_CREATOR_PATH)).createTempConfigFile as TempConfigFileCreator
1919
return tempConfigCreator
20-
2120
}
2221

2322
export function isWindows() {

packages/vscode-wdio-worker/tests/parsers/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('Parser Index', () => {
5252
],
5353
},
5454
]
55-
const mockAstParser = vi.fn(()=>jsMockTestData)
55+
const mockAstParser = vi.fn(() => jsMockTestData)
5656

5757
const cucumberMockTestData: CucumberTestData[] = [
5858
{
@@ -81,7 +81,7 @@ describe('Parser Index', () => {
8181
metadata: {},
8282
},
8383
]
84-
const mockCucumberParser = vi.fn(()=>cucumberMockTestData)
84+
const mockCucumberParser = vi.fn(() => cucumberMockTestData)
8585

8686
beforeEach(() => {
8787
vi.resetAllMocks()

0 commit comments

Comments
 (0)