Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"hexColor": "Invalid Hex Color format",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"leapYear": "Please enter a valid leap year",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"mac": "Enter valid MAC address.",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"hexColor": "Invalid Hex Color format",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"contains": "input not contain string",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"primeNumber": "Please enter a valid prime number",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"alpha": "Only alphabets are allowed.",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"notEmpty": "This field is required",
}
});
});
beforeEach(() => {
ReactiveFormConfig.set({
"validationMessage": {
"different": "Do not enter same inputs.",
}
});
});
ngOnInit(){
ReactiveFormConfig.set({
"validationMessage": {
"alpha": "Only alphabelts are allowed.",
}
});
}
}