Skip to content

Commit

Permalink
Update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpetryk committed Oct 20, 2024
1 parent 73e829f commit 899b39b
Show file tree
Hide file tree
Showing 10 changed files with 131 additions and 120 deletions.
3 changes: 2 additions & 1 deletion .api-report/mafs.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const Line: {
};

// @public (undocumented)
export function Mafs({ width: propWidth, height: propHeight, pan, zoom, viewBox, preserveAspectRatio, children, ssr, onClick, }: MafsProps): JSX_2.Element;
export function Mafs({ width: propWidth, height: propHeight, pan, zoom, viewBox, preserveAspectRatio, children, ssr, debug, onClick, }: MafsProps): JSX_2.Element;

// @public (undocumented)
export namespace Mafs {
Expand All @@ -127,6 +127,7 @@ export type MafsProps = React_2.PropsWithChildren<{
preserveAspectRatio?: "contain" | false;
onClick?: (point: vec.Vector2, event: MouseEvent) => void;
ssr?: boolean;
debug?: boolean;
}>;

// @public (undocumented)
Expand Down
10 changes: 10 additions & 0 deletions e2e/generated-vrt.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import VectorFieldExample from "../docs/components/guide-examples/VectorFieldExa
import PizzaMarch from "../docs/components/guide-examples/custom/pizza-march"
import PizzaSlice from "../docs/components/guide-examples/custom/pizza-slice"
import PointCloud from "../docs/components/guide-examples/custom/point-cloud"
import DebugExample from "../docs/components/guide-examples/debug/DebugExample"
import PaneVisualizerExample from "../docs/components/guide-examples/debug/PaneVisualizerExample"
import DynamicMovablePoints from "../docs/components/guide-examples/display/DynamicMovablePoints"
import PointsAlongFunction from "../docs/components/guide-examples/display/PointsAlongFunction"
Expand Down Expand Up @@ -188,6 +189,15 @@ test("guide-examples/custom/PointCloud", async ({ mount, page }) =>
</TestContextProvider>,
))

test("guide-examples/debug/DebugExample", async ({ mount, page }) =>
await visualTest(
mount,
page,
<TestContextProvider value={{ overrideHeight: 500 }}>
<DebugExample />
</TestContextProvider>,
))

test("guide-examples/debug/PaneVisualizerExample", async ({ mount, page }) =>
await visualTest(
mount,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/frameworks/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^20.16.11",
"@types/node": "^20.16.13",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"typescript": "^5.6.3"
Expand Down
Loading

0 comments on commit 899b39b

Please sign in to comment.