ci: Fix typecheck on master (no-changelog) (#10122)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Iván Ovejero
2024-07-19 17:20:23 +02:00
committed by GitHub
parent 5d546858d1
commit 0542765b98
2 changed files with 5 additions and 2 deletions

View File

@@ -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: {