Skip to content

Commit 0e4fa72

Browse files
committed
remove unused method
1 parent dcfcad0 commit 0e4fa72

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

tests/integration/tools/atlas/atlasHelpers.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -101,26 +101,6 @@ export function withProject(integration: IntegrationTest, fn: ProjectTestFunctio
101101
});
102102
}
103103

104-
export function parseTable(text: string): Record<string, string>[] {
105-
const data = text
106-
.split("\n")
107-
.filter((line) => line.trim() !== "")
108-
.map((line) => line.split("|").map((cell) => cell.trim()));
109-
110-
const headers = data[0];
111-
return data
112-
.filter((_, index) => index >= 2)
113-
.map((cells) => {
114-
const row: Record<string, string> = {};
115-
cells.forEach((cell, index) => {
116-
if (headers) {
117-
row[headers[index] ?? ""] = cell;
118-
}
119-
});
120-
return row;
121-
});
122-
}
123-
124104
export const randomId = new ObjectId().toString();
125105

126106
async function createProject(apiClient: ApiClient): Promise<Group & Required<Pick<Group, "id">>> {

0 commit comments

Comments
 (0)