fix: fix eslint issues, adjust norm test for dev merge
ref: N25B-371
This commit is contained in:
@@ -48,9 +48,10 @@ describe('NormNode', () => {
|
||||
test.each(getAllTypes())('it should render %s node with the default data', (nodeType) => {
|
||||
const lengthBefore = screen.getAllByText(/.*/).length;
|
||||
|
||||
let newNode = createNode(nodeType + "1", nodeType, {x: 200, y:200}, {})
|
||||
let uiElement = Object.entries(NodeTypes).find(([t])=>t==nodeType)?.[1]!;
|
||||
let props = {
|
||||
const newNode = createNode(nodeType + "1", nodeType, {x: 200, y:200}, {})
|
||||
const uiElement = Object.entries(NodeTypes).find(([t])=>t==nodeType)?.[1];
|
||||
expect(uiElement).toBeDefined();
|
||||
const props = {
|
||||
id:newNode.id,
|
||||
type:newNode.type as string,
|
||||
data:newNode.data as any,
|
||||
|
||||
Reference in New Issue
Block a user