Skip to content

Commit

Permalink
fix: more minor cleanups from Romulo
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Apr 6, 2024
1 parent 30689b6 commit 7f4d236
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"react-datepicker": "^4.13.0",
"react-dom": "17.0.2",
"react-helmet": "^6.1.0",
"react-instantsearch": "7.7.0",
"react-instantsearch": "^7.7.0",
"react-redux": "7.2.9",
"react-responsive": "9.0.2",
"react-router": "6.16.0",
Expand Down
2 changes: 1 addition & 1 deletion src/search-modal/SearchModal.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const RootWrapper = () => (
</AppProvider>
);

describe('<ManageOrgsModal />', () => {
describe('<SearchModal />', () => {
beforeEach(() => {
initializeMockApp({
authenticatedUser: {
Expand Down
3 changes: 0 additions & 3 deletions src/search-modal/SearchUI.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ describe('<SearchUI />', () => {
});

afterEach(async () => {
// Unfortunately it seems a slight delay is necessary to capture all the asynchronous Meilisearch calls.
// If we don't do this, some network requests happen while our fetchMock is inactive, resulting in a warning.
// await new Promise(r => { setTimeout(r, 500); });
fetchMock.mockReset();
});

Expand Down

0 comments on commit 7f4d236

Please sign in to comment.