mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Update supertest, and fix some typing errors (no-changelog) (#9527)
This commit is contained in:
committed by
GitHub
parent
47d774100b
commit
08902bf941
@@ -1,5 +1,4 @@
|
||||
import { readFileSync } from 'fs';
|
||||
import type { SuperAgentTest } from 'supertest';
|
||||
import { agent as testAgent } from 'supertest';
|
||||
import type { INodeType, INodeTypeDescription, IWebhookFunctions } from 'n8n-workflow';
|
||||
|
||||
@@ -15,6 +14,7 @@ import { initActiveWorkflowManager } from './shared/utils';
|
||||
import * as testDb from './shared/testDb';
|
||||
import { createUser } from './shared/db/users';
|
||||
import { createWorkflow } from './shared/db/workflows';
|
||||
import type { SuperAgentTest } from './shared/types';
|
||||
|
||||
describe('Webhook API', () => {
|
||||
mockInstance(ExternalHooks);
|
||||
|
||||
Reference in New Issue
Block a user