Implement comprehensive UI test suite with meaningful assertions and best practices (#921)
This commit is contained in:
@@ -55,10 +55,10 @@ export const getAppVersion: RpcEvent<void, string> = {
|
||||
topic: 'getAppVersion',
|
||||
}
|
||||
|
||||
export const writeToFile: RpcEvent<{ filePath: string, data: string, encoding?: string }, void> = {
|
||||
export const writeToFile: RpcEvent<{ filePath: string; data: string; encoding?: string }, void> = {
|
||||
topic: 'writeFile',
|
||||
}
|
||||
|
||||
export const readFromFile: RpcEvent<{ filePath: string, encoding?: string }, Buffer> = {
|
||||
export const readFromFile: RpcEvent<{ filePath: string; encoding?: string }, Buffer> = {
|
||||
topic: 'readFromFile',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,4 +11,4 @@ export function makeSaveDialogRpc(): RpcEvent<SaveDialogOptions, SaveDialogRetur
|
||||
return {
|
||||
topic: 'saveDialog',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user