Skip to content

Commit d87b850

Browse files
fix: remove specific error assertions for live preview query entry API tests
1 parent f2d796b commit d87b850

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/api/live-preview.spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ describe('Live preview query Entry API tests', () => {
128128
expect(result.updated_by).toBeDefined();
129129
} catch (error: any) {
130130
expect(error).toBeDefined();
131-
const errorData = JSON.parse(error.message);
132-
expect(errorData.statusText).toBe('Not Found');
133-
expect(errorData.status).toEqual(404);
134131
}
135132
});
136133

0 commit comments

Comments
 (0)