mirror of
https://github.com/actions/toolkit.git
synced 2026-08-29 00:00:23 +02:00
adding updated lints and fixes
This commit is contained in:
@@ -239,7 +239,7 @@ describe('Download Tests', () => {
|
||||
*/
|
||||
async function emptyMockReadBody(): Promise<string> {
|
||||
return new Promise(resolve => {
|
||||
resolve()
|
||||
resolve('mockResolve')
|
||||
})
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ describe('Download Tests', () => {
|
||||
]
|
||||
}
|
||||
const returnData: string = JSON.stringify(response, null, 2)
|
||||
mockReadBody = async function(): Promise<string> {
|
||||
mockReadBody = async function (): Promise<string> {
|
||||
return new Promise(resolve => {
|
||||
resolve(returnData)
|
||||
})
|
||||
@@ -447,7 +447,7 @@ describe('Download Tests', () => {
|
||||
]
|
||||
}
|
||||
const returnData: string = JSON.stringify(response, null, 2)
|
||||
mockReadBody = async function(): Promise<string> {
|
||||
mockReadBody = async function (): Promise<string> {
|
||||
return new Promise(resolve => {
|
||||
resolve(returnData)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user