mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
ci: Fix typecheck on master (no-changelog) (#10122)
Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
import { renderComponent } from '@/__tests__/render';
|
||||
import { createTestingPinia } from '@pinia/testing';
|
||||
import ParameterInputWrapper from './ParameterInputWrapper.vue';
|
||||
import { STORES } from '@/constants';
|
||||
import { SETTINGS_STORE_DEFAULT_STATE } from '@/__tests__/utils';
|
||||
|
||||
describe('ParameterInputWrapper.vue', () => {
|
||||
test('should resolve expression', async () => {
|
||||
const { getByTestId } = renderComponent(ParameterInputWrapper, {
|
||||
pinia: createTestingPinia({
|
||||
initialState: {
|
||||
ndv: {
|
||||
[STORES.NDV]: {
|
||||
activeNodeName: 'testNode',
|
||||
input: { nodeName: 'inputNode' },
|
||||
},
|
||||
[STORES.SETTINGS]: SETTINGS_STORE_DEFAULT_STATE,
|
||||
},
|
||||
}),
|
||||
props: {
|
||||
|
||||
@@ -1443,7 +1443,7 @@ export function useCanvasOperations({
|
||||
|
||||
if (
|
||||
nodeSaveData.credentials &&
|
||||
settingsStore.isEnterpriseFeatureEnabled(EnterpriseEditionFeature.Sharing)
|
||||
settingsStore.isEnterpriseFeatureEnabled[EnterpriseEditionFeature.Sharing]
|
||||
) {
|
||||
nodeSaveData.credentials = filterAllowedCredentials(
|
||||
nodeSaveData.credentials,
|
||||
|
||||
Reference in New Issue
Block a user