test: remove unreachable cases and strengthen weak assertions
This commit is contained in:
1 parent
169062be11
commit
abfe510ce1
25 files changed
+64
-302
No files matched your search
@@ -163,7 +163,6 @@ describe("FilePreviewPanel", () => {
|
||||
expect(codeBlock).toHaveTextContent("print('ok')");
|
||||
expect(codeBlock).toHaveAttribute("data-language", "python");
|
||||
expect(codeBlock).toHaveAttribute("data-highlight", "true");
|
||||
expect(screen.queryByTestId("file-preview-breadcrumb")).not.toBeInTheDocument();
|
||||
expect(screen.queryByText("quicksort.py")).not.toBeInTheDocument();
|
||||
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user