mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
chore: Upgrade nock and delete nock related boilerplate code (no-changelog) (#12869)
This commit is contained in:
committed by
GitHub
parent
0bb65f27ab
commit
f64c6bf9ac
@@ -42,8 +42,6 @@ describe('GmailTrigger', () => {
|
||||
}
|
||||
|
||||
beforeAll(() => {
|
||||
nock.disableNetConnect();
|
||||
|
||||
jest.spyOn(mailparser, 'simpleParser').mockResolvedValue({
|
||||
headers: new Map([['headerKey', 'headerValue']]),
|
||||
attachments: [],
|
||||
@@ -63,10 +61,6 @@ describe('GmailTrigger', () => {
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
nock.restore();
|
||||
});
|
||||
|
||||
it('should return incoming emails', async () => {
|
||||
const messageListResponse: MessageListResponse = {
|
||||
messages: [createListMessage({ id: '1' }), createListMessage({ id: '2' })],
|
||||
|
||||
Reference in New Issue
Block a user