mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 01:26:44 +00:00
* ensure that eslint runs on all frontend code * remove tslint from `design-system` * enable prettier and eslint-prettier for `design-system` * Delete tslint.json * use a single editorconfig for the repo * enable prettier for all code in `design-system` * more linting fixes on design-system * ignore coverage for git and prettier * lintfix on editor-ui
24 lines
570 B
TypeScript
24 lines
570 B
TypeScript
import { render } from '@testing-library/vue';
|
|
import N8nSelect from '../Select.vue';
|
|
import N8nOption from '../../N8nOption/Option.vue';
|
|
|
|
describe('components', () => {
|
|
describe('N8nSelect', () => {
|
|
it('should render correctly', () => {
|
|
const wrapper = render(N8nSelect, {
|
|
components: {
|
|
N8nOption,
|
|
},
|
|
slots: {
|
|
default: [
|
|
'<n8n-option value="1">1</n8n-option>',
|
|
'<n8n-option value="2">2</n8n-option>',
|
|
'<n8n-option value="3">3</n8n-option>',
|
|
],
|
|
},
|
|
});
|
|
expect(wrapper.html()).toMatchSnapshot();
|
|
});
|
|
});
|
|
});
|