Skip to content

Commit

Permalink
Merge branch 'version-3-4' into backport/version-3-4/pr-2327
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding authored Mar 28, 2024
2 parents 12450bd + 016e80e commit 33bc63c
Show file tree
Hide file tree
Showing 10 changed files with 431 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs-content/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ sidebar_custom_props:
tags: ["release-notes"]
---

<ReleaseNotesVersions />

## September 21, 2023 - Release 3.4.114

This release contains a minor bug fix.
Expand Down
229 changes: 229 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"prism-react-renderer": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-select": "^5.8.0",
"sass": "^1.64.1"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.dropdownContainer {
display: flex;
justify-content: center;
}

.dropdownContainer > div:first-child {
width: 50%;

@media (max-width: 768px) {
width: 100%;
}
}
25 changes: 25 additions & 0 deletions src/components/ReleaseNotesVersions/ReleaseNotesVersions.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from "react";
import { render, screen, logRoles } from "@testing-library/react";
import ReleaseNotesVersions from "./ReleaseNotesVersions";

// These test are pretty much useless.
// The only real purpose they show is catching simple issues, or component signature changes.

jest.mock("./ReleaseNotesVersions", () => {
return jest.fn(() => {
return <div data-testid="mock-rl-note-admn"></div>;
});
});
// Mock any other dependencies here

describe("ReleaseNotesVersions", () => {
it("renders without crashing", () => {
render(<ReleaseNotesVersions />);
expect(screen.getByTestId("mock-rl-note-admn")).toBeVisible();
expect(screen.getByTestId("mock-rl-note-admn")).toBeInTheDocument();
});
});

afterEach(() => {
jest.clearAllMocks();
});
Loading

0 comments on commit 33bc63c

Please sign in to comment.