test: add failing test case for js flt
This commit is contained in:
parent
ea7b080e70
commit
9f0c8be183
1 changed files with 17 additions and 0 deletions
|
|
@ -83,6 +83,23 @@ context("Control Float", () => {
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
// '.' is the parseFloat's decimal separator
|
||||
number_format: "#.###,##",
|
||||
values: [
|
||||
{
|
||||
input: "12.345",
|
||||
blur_expected: "12.345",
|
||||
focus_expected: "12345",
|
||||
},
|
||||
{
|
||||
// parseFloat would reduce 12,340 to 12,34 if this string was ever to be parsed
|
||||
input: "12.340",
|
||||
blur_expected: "12.340",
|
||||
focus_expected: "12340",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue