App reorganization
This commit is contained in:
1 parent
f866d11ff8
commit
e9dab04b34
288 files changed
+2698
-5029
No files matched your search
@@ -36,6 +36,7 @@ const config: ComponentTestSuiteConfig<HeaderLockupProps> = {
|
||||
|
||||
componentTestSuite<HeaderLockupProps>(config);
|
||||
|
||||
// Pure presentational; no provider context needed.
|
||||
describe("HeaderLockup (behavioral tests)", () => {
|
||||
it("renders title", () => {
|
||||
render(<HeaderLockup title="Test Title" />);
|
||||
@@ -84,8 +85,8 @@ describe("HeaderLockup (behavioral tests)", () => {
|
||||
expect(screen.getByRole("heading", { level: 1 })).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("accepts PascalCase props", () => {
|
||||
render(<HeaderLockup title="Test Title" justification="Left" size="L" />);
|
||||
it("accepts justification and size props", () => {
|
||||
render(<HeaderLockup title="Test Title" justification="left" size="L" />);
|
||||
expect(screen.getByRole("heading", { level: 1 })).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user