+
+ {yarnNode.title}
+
+
+ {/* Don't show tags if we're zoomed out far enough */}
+ {!extraZoomedOut && (
+
+ {yarnNode.tags.split(" ").map(
+ (tag) =>
+ tag.length !== 0 && (
+
+ {tag}
+
+ )
+ )}
+
+ )}
+
+ );
+};
+
+export default ZoomedOutNode;
diff --git a/loom-editor/src/components/NodeGraphView/index.test.tsx b/loom-editor/src/components/NodeGraphView/index.test.tsx
index 9bea9f6..cc621b0 100644
--- a/loom-editor/src/components/NodeGraphView/index.test.tsx
+++ b/loom-editor/src/components/NodeGraphView/index.test.tsx
@@ -1,9 +1,11 @@
import React from "react";
+import { screen } from "@testing-library/react";
+
import { renderWithProvider } from "../../utils/test-utils";
-import { screen, fireEvent } from "@testing-library/react";
import NodeGraphView from "./";
import { YarnGraphNode } from "../NodeGraph";
+import { defaultState } from "../../state/YarnContext";
describe("