Skip to content

Commit a6fbb23

Browse files
committed
fix test
1 parent 7ede990 commit a6fbb23

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

web/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"build-storybook": "storybook build",
111111
"build:css": "tailwindcss -i ./src/styles/index.css -o ./dist/styles/tailwind.min.css --minify",
112112
"build:storybook": "storybook build",
113-
"ci": "pnpm run syncpack && pnpm run lint && pnpm run build",
113+
"ci": "pnpm test && pnpm run syncpack && pnpm run lint && pnpm run build",
114114
"dev": "storybook dev -p 6006",
115115
"lint": "eslint --max-warnings 0 --fix src",
116116
"storybook": "storybook dev -p 6006",

web/common/src/components/Lineage/help.test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ describe('Lineage Help Functions', () => {
9494

9595
const transformNode = (
9696
nodeId: NodeId,
97-
adjacencyListKey: string,
9897
data: { name: string; type: string },
9998
) =>
10099
({
@@ -128,11 +127,7 @@ describe('Lineage Help Functions', () => {
128127
test('should handle empty adjacency list', () => {
129128
const adjacencyListKeys: string[] = []
130129
const lineageDetails: LineageDetails<string, { name: string }> = {}
131-
const transformNode = (
132-
nodeId: NodeId,
133-
adjacencyListKey: string,
134-
data: { name: string },
135-
) =>
130+
const transformNode = (nodeId: NodeId, data: { name: string }) =>
136131
({
137132
id: nodeId,
138133
position: { x: 0, y: 0 },

0 commit comments

Comments
 (0)