mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Create NPM node (#6177)
This commit is contained in:
committed by
GitHub
parent
80831cd7c6
commit
f3bc6f19b6
@@ -1,10 +1,8 @@
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
|
||||
// If your test needs data from credentials, you can add it here.
|
||||
// as JSON.stringify({ id: 'credentials_ID', name: 'credentials_name' }) for specific credentials
|
||||
// or as 'credentials_type' for all credentials of that type
|
||||
// expected keys for credentials can be found in packages/nodes-base/credentials/[credentials_type].credentials.ts
|
||||
export const FAKE_CREDENTIALS_DATA: IDataObject = {
|
||||
export const FAKE_CREDENTIALS_DATA = {
|
||||
[JSON.stringify({ id: '20', name: 'Airtable account' })]: {
|
||||
apiKey: 'key456',
|
||||
},
|
||||
@@ -15,6 +13,10 @@ export const FAKE_CREDENTIALS_DATA: IDataObject = {
|
||||
apiKey: 'key123',
|
||||
baseUrl: 'https://test.app.n8n.cloud/api/v1',
|
||||
},
|
||||
npmApi: {
|
||||
accessToken: 'fake-npm-access-token',
|
||||
registryUrl: 'https://fake.npm.registry',
|
||||
},
|
||||
totpApi: {
|
||||
label: 'GitHub:john-doe',
|
||||
secret: 'BVDRSBXQB2ZEL5HE',
|
||||
@@ -24,4 +26,4 @@ export const FAKE_CREDENTIALS_DATA: IDataObject = {
|
||||
accessKeyId: 'key',
|
||||
secretAccessKey: 'secret',
|
||||
},
|
||||
};
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user