Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] feat(NumericInput): support localization #4388

Merged
merged 20 commits into from
Nov 16, 2020
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
Prev Previous commit
Next Next commit
applied prettier rules
  • Loading branch information
hunterxyz committed Oct 26, 2020
commit ae036111f6c1d3c115f323c2eeab5d1f2dec139c
5 changes: 4 additions & 1 deletion packages/core/test/controls/numericInputTests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,10 @@ describe("<NumericInput>", () => {
const valueAfterDecrement = "6,9";
const valueNumberAfterDecrement = 6.9;

component.find("input").first().simulate("change", { target: { value: nextValue } });
component
.find("input")
.first()
.simulate("change", { target: { value: nextValue } });

expect(onValueChangeSpy.calledWith(nextValueNumber, nextValue)).to.be.true;

Expand Down