Skip to content

Commit

Permalink
Fix: ensuring we don't have warnings from withLoadingStateWhileRunning
Browse files Browse the repository at this point in the history
  • Loading branch information
stevematney committed Nov 18, 2024
1 parent c9c93b7 commit e742a41
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 219 deletions.
172 changes: 25 additions & 147 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prettier --single-quote --write"
],
"packages/es-components/src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix --config packages/es-components/.eslintrc.js --cache"
"eslint --fix --config eslint.config.mjs --cache"
]
},
"devDependencies": {
Expand All @@ -39,9 +39,9 @@
"@commitlint/prompt-cli": "^17.3.0",
"@eslint/js": "^9.15.0",
"@testing-library/cypress": "^10.0.1",
"@testing-library/dom": "^9.3.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/eslint__js": "^8.42.3",
"@types/js-beautify": "^1.14.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/es-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
"@rollup/pluginutils": "^5.0.4",
"@tanstack/react-virtual": "^3.0.0-beta.54",
"@testing-library/cypress": "^10.0.1",
"@testing-library/dom": "^9.3.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.2",
"@types/node": "^18.11.17",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from 'react';
import { screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';

import Button from '../Button';
import { renderWithTheme } from '../../../util/test-utils';
import {
withLoadingStateWhileRunning,
LoadingStateOnClick,
LoadingStateOnClick
} from './withLoadingStateWhileRunning';
import noop from '../../../util/noop';

Expand Down
Loading

0 comments on commit e742a41

Please sign in to comment.