Update prettier to 2.3.0 and re-prettify everything

Gotta love those trailing commas!
This commit is contained in:
Patrick Ellis
2021-06-04 16:13:23 -04:00
parent a1aa618e7a
commit c97a9580dd
6 changed files with 52 additions and 52 deletions

View File

@@ -1,32 +1,32 @@
export const context = {
payload: {
pull_request: {
number: 123
}
number: 123,
},
},
repo: {
owner: "monalisa",
repo: "helloworld"
}
repo: "helloworld",
},
};
const mockApi = {
issues: {
addLabels: jest.fn(),
removeLabel: jest.fn()
removeLabel: jest.fn(),
},
paginate: jest.fn(),
pulls: {
get: jest.fn().mockResolvedValue({}),
listFiles: {
endpoint: {
merge: jest.fn().mockReturnValue({})
}
}
merge: jest.fn().mockReturnValue({}),
},
},
},
repos: {
getContents: jest.fn()
}
getContents: jest.fn(),
},
};
export const GitHub = jest.fn().mockImplementation(() => mockApi);