mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
enable failing tests again and use form instead of table for create permission
This commit is contained in:
@@ -4,7 +4,11 @@ import "../../tests/enzyme";
|
||||
import "../../tests/i18n";
|
||||
import PermissionsNavLink from "./PermissionsNavLink";
|
||||
|
||||
xdescribe("PermissionsNavLink", () => {
|
||||
jest.mock("@scm-manager/ui-components", () => ({
|
||||
NavAction: require.requireActual("@scm-manager/ui-components").NavAction
|
||||
}));
|
||||
|
||||
describe("PermissionsNavLink", () => {
|
||||
it("should render nothing, if the modify link is missing", () => {
|
||||
const repository = {
|
||||
_links: {}
|
||||
|
||||
Reference in New Issue
Block a user