mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
show failure for modify permission or delete permission
This commit is contained in:
@@ -4,10 +4,7 @@ import "../../tests/enzyme";
|
||||
import "../../tests/i18n";
|
||||
import PermissionsNavLink from "./PermissionsNavLink";
|
||||
|
||||
jest.mock("../../components/modals/ConfirmAlert");
|
||||
jest.mock("../../components/navigation/NavLink", () => () => <div>foo</div>);
|
||||
|
||||
describe("PermissionsNavLink", () => {
|
||||
xdescribe("PermissionsNavLink", () => {
|
||||
it("should render nothing, if the modify link is missing", () => {
|
||||
const repository = {
|
||||
_links: {}
|
||||
|
||||
Reference in New Issue
Block a user