Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,6 @@ export const WithoutLabels: Story = {
},
};

// Verifies TeX rendering in both column labels and item cards. The 500ms delay
// gives MathJax time to finish rendering and onMeasure to settle before
// Chromatic takes its snapshot.
export const WithTeX: Story = {
decorators: [matcherRendererDecorator],
parameters: {
chromatic: {delay: 5000},
},
args: {
...sharedArgs,
labels: ["$f(x)$", "$f'(x)$"],
left: [
"$f(x) = \\dfrac{1}{x}$",
"$f(x) = \\dfrac{1}{x^2}$",
"$f(x) = \\dfrac{1}{x^3}$",
],
right: [
"$f'(x) = -\\dfrac{1}{x^2}$",
"$f'(x) = -\\dfrac{2}{x^3}$",
"$f'(x) = -\\dfrac{3}{x^4}$",
],
},
};

// Verifies the orderMatters state: both columns render as draggable cards
// (white background, visible border) rather than the left column appearing
// flat/disabled as it does when orderMatters is false.
Expand Down
Loading