mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Pass in filePath as an argument
This commit is contained in:
@@ -37,7 +37,7 @@ fdescribe('Smoke Test', () => {
|
||||
expect(roots).toEqual([tempDirPath])
|
||||
|
||||
console.log('>>> Waiting for editor to open')
|
||||
await client.execute(async () => await atom.workspace.open(filePath))
|
||||
await client.execute(async filePath => await atom.workspace.open(filePath), filePath)
|
||||
|
||||
console.log('>>> Waiting for editor to exist')
|
||||
const textEditorElement = await client.$('atom-text-editor')
|
||||
|
||||
Reference in New Issue
Block a user