From 1c46a6896e28a860b4170f9fbb7c91c3c6caf197 Mon Sep 17 00:00:00 2001 From: Chad Burt Date: Thu, 10 Aug 2023 15:48:34 -0700 Subject: [PATCH] Fix unit tests --- packages/api/tests/tableOfContentsItems.test.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/api/tests/tableOfContentsItems.test.ts b/packages/api/tests/tableOfContentsItems.test.ts index 6950fc242..eaf943908 100644 --- a/packages/api/tests/tableOfContentsItems.test.ts +++ b/packages/api/tests/tableOfContentsItems.test.ts @@ -609,13 +609,6 @@ describe("Data validation", () => { )}, data_layer_id) values (${projectId}, 'item1', false, ${id()}, ${val}, ${layerId}) returning id` ); expect(tocId).toBeTruthy(); - expect( - conn.oneFirst( - sql`insert into table_of_contents_items(project_id, title, is_folder, stable_id, ${sql.identifier( - [prop] - )}) values (${projectId}, 'item1', true, ${id()}, ${val}) returning id` - ) - ).rejects.toThrow(/Folders/); await conn.any(sql`ROLLBACK to before_thing`); } expect(