ci: Ensure that eslint runs on all frontend code (no-changelog) (#4602)
* 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
This commit is contained in:
committed by
GitHub
parent
d96d6f11db
commit
13659d036f
@@ -7,7 +7,7 @@ describe('components', () => {
|
||||
const wrapper = render(N8nTree, {
|
||||
props: {
|
||||
value: {
|
||||
"hello": "world",
|
||||
hello: 'world',
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -18,13 +18,10 @@ describe('components', () => {
|
||||
const wrapper = render(N8nTree, {
|
||||
props: {
|
||||
value: {
|
||||
"hello": {
|
||||
"test": "world",
|
||||
hello: {
|
||||
test: 'world',
|
||||
},
|
||||
"options": [
|
||||
"yes",
|
||||
"no",
|
||||
],
|
||||
options: ['yes', 'no'],
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -35,37 +32,30 @@ describe('components', () => {
|
||||
const wrapper = render(N8nTree, {
|
||||
props: {
|
||||
value: {
|
||||
"hello": {
|
||||
"test": "world",
|
||||
hello: {
|
||||
test: 'world',
|
||||
},
|
||||
"options": [
|
||||
"yes",
|
||||
"no",
|
||||
],
|
||||
options: ['yes', 'no'],
|
||||
},
|
||||
},
|
||||
slots: {
|
||||
label: "<span>label</span>",
|
||||
value: "<span>value</span>",
|
||||
label: '<span>label</span>',
|
||||
value: '<span>value</span>',
|
||||
},
|
||||
});
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
});
|
||||
|
||||
|
||||
it('should render each tree with node class', () => {
|
||||
const wrapper = render(N8nTree, {
|
||||
props: {
|
||||
value: {
|
||||
"hello": {
|
||||
"test": "world",
|
||||
hello: {
|
||||
test: 'world',
|
||||
},
|
||||
"options": [
|
||||
"yes",
|
||||
"no",
|
||||
],
|
||||
options: ['yes', 'no'],
|
||||
},
|
||||
nodeClass: "nodeClass",
|
||||
nodeClass: 'nodeClass',
|
||||
},
|
||||
});
|
||||
expect(wrapper.html()).toMatchSnapshot();
|
||||
|
||||
Reference in New Issue
Block a user