mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-15 13:36:35 +02:00
Flat structure of published package
This commit is contained in:
@ -67,7 +67,3 @@ export {
|
||||
|
||||
// Alert context
|
||||
export { AlertContext, AlertContextProvider, useAlert } from "alertContext/AlertContext";
|
||||
|
||||
// Testing utilities
|
||||
export { mockJSONError } from "testUtils/network";
|
||||
export { mockSetAlert, mockDismissAlert } from "testUtils/alertContextMock";
|
||||
|
@ -13,7 +13,7 @@ import { StaticRouter } from "react-router";
|
||||
import { render } from "@testing-library/react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { AlertContextMock } from "alertContextMock";
|
||||
import { AlertContextMock } from "./alertContextMock";
|
||||
|
||||
Wrapper.propTypes = {
|
||||
children: PropTypes.oneOfType([
|
||||
|
Reference in New Issue
Block a user