feat: Move SQLAlchemy url reference to config (#13182)

This commit is contained in:
Hugh A. Miles II
2021-02-18 12:42:15 -05:00
committed by GitHub
parent 1e17ef3410
commit 3c58fc5ef5
6 changed files with 28 additions and 2 deletions

View File

@@ -43,6 +43,11 @@ const dbProps = {
},
};
jest.mock('react-redux', () => ({
...jest.requireActual('react-redux'),
useSelector: jest.fn(),
}));
const DATABASE_ENDPOINT = 'glob:*/api/v1/database/*';
fetchMock.get(DATABASE_ENDPOINT, {});