-
Notifications
You must be signed in to change notification settings - Fork 269
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
Create a new widget for decimal type #9335
Conversation
bedd4af
to
870b7ee
Compare
expect(decimalValidator.validate(field)).toBeTrue(); | ||
}); | ||
|
||
it('should return true when value has smaller precission', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it('should return true when value has smaller precission', () => { | |
it('should return true when value is of lower precision', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed
lib/core/src/lib/form/components/widgets/core/form-field-validator.spec.ts
Outdated
Show resolved
Hide resolved
lib/core/src/lib/form/components/widgets/core/form-field-validator.spec.ts
Outdated
Show resolved
Hide resolved
expect(decimalValidator.validate(field)).toBeFalse(); | ||
}); | ||
|
||
it('should return true, when value is negative number and has correct precission', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it('should return true, when value is negative number and has correct precission', () => { | |
it('should return false, when value is a negative number and of correct precission', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy/paste issue .. fixed 👍
lib/core/src/lib/form/components/widgets/core/form-field-validator.spec.ts
Outdated
Show resolved
Hide resolved
6ebf349
to
9d17327
Compare
Quality Gate failedFailed conditions |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
What is the new behaviour?
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: