Skip to content

Commit

Permalink
build(deps): update prettier from 2.7.1 to 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adamalston committed Dec 4, 2023
1 parent a2354ff commit ec26a59
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions 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 @@ -32,7 +32,7 @@
"husky": "^8.0.3",
"jest-canvas-mock": "^2.4.0",
"lint-staged": "^15.1.0",
"prettier": "^2.7.1",
"prettier": "^3.1.0",
"react-scripts": "^5.0.1",
"sass": "^1.54.8",
"stylelint": "^15.11.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion src/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const App = () => {
const init = () => {
if (
window.matchMedia(
'(max-device-width: 820px) and (-webkit-min-device-pixel-ratio: 2)'
'(max-device-width: 820px) and (-webkit-min-device-pixel-ratio: 2)',
)?.matches
) {
setIsMobile(true);
Expand Down
12 changes: 6 additions & 6 deletions src/Index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('application tests', () => {
const checkContent = (
element: HTMLElement,
display: RegExp,
link?: string
link?: string,
) => {
expect(element).toBeVisible();
expect(element).toHaveAccessibleName();
Expand All @@ -42,7 +42,7 @@ describe('application tests', () => {
parent: HTMLElement,
child: HTMLElement,
display: RegExp,
link: string
link: string,
) => {
expect(child).toHaveTextContent(display);

Expand Down Expand Up @@ -91,7 +91,7 @@ describe('application tests', () => {
parent,
child,
/^LinkedIn$/,
'https://www.linkedin.com/in/adam-alston/'
'https://www.linkedin.com/in/adam-alston/',
);
});

Expand All @@ -103,7 +103,7 @@ describe('application tests', () => {
parent,
child,
/^Resume$/,
'https://drive.google.com/file/d/1VQ_Oeim_e92QEMi64ejGWY5Hf4RRxfeJ/view'
'https://drive.google.com/file/d/1VQ_Oeim_e92QEMi64ejGWY5Hf4RRxfeJ/view',
);
});

Expand Down Expand Up @@ -141,15 +141,15 @@ describe('application tests', () => {
const footer = screen.getByTestId('footer');

expect(footer).toHaveTextContent(
/^Designed and built by Adam Alston \| Source$/
/^Designed and built by Adam Alston \| Source$/,
);
});
});

describe('app context tests', () => {
it('should render partial footer on mobile', () => {
render(
<AppProvider config={{} as any} isMobile={true} children={<Footer />} />
<AppProvider config={{} as any} isMobile={true} children={<Footer />} />,
);

// partial footer should now be visible
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ render(
<StrictMode>
<App />
</StrictMode>,
document.getElementById('root')
document.getElementById('root'),
);

0 comments on commit ec26a59

Please sign in to comment.