-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: remove date-time related deprecations, EMPTY_VALIDATOR (#2164
- Loading branch information
1 parent
23c0cc5
commit d68b6bb
Showing
49 changed files
with
818 additions
and
1,453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
import {AbstractControl} from '@angular/forms'; | ||
|
||
import {ALWAYS_FALSE_HANDLER} from '../always-false-handler'; | ||
import {ALWAYS_TRUE_HANDLER} from '../always-true-handler'; | ||
import {EMPTY_VALIDATOR} from '../empty'; | ||
|
||
describe(`Handler functions`, () => { | ||
it(`Always false`, () => { | ||
describe('Handler functions', () => { | ||
it('Always false', () => { | ||
expect(ALWAYS_FALSE_HANDLER()).toBe(false); | ||
}); | ||
|
||
it(`Always true`, () => { | ||
it('Always true', () => { | ||
expect(ALWAYS_TRUE_HANDLER()).toBe(true); | ||
}); | ||
|
||
it(`EMPTY_VALIDATOR`, () => { | ||
expect(EMPTY_VALIDATOR({} as unknown as AbstractControl)).toBe(null); | ||
}); | ||
}); |
Oops, something went wrong.