-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
9422-email-domains-interstitial-oauth
- Loading branch information
1 parent
b800d34
commit 2503b53
Showing
4 changed files
with
49 additions
and
25 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
46 changes: 33 additions & 13 deletions
46
src/app/cdk/interstitials/share-emails-domains/share-emails-domains.component.spec.ts
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,21 +1,41 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { ComponentFixture, TestBed } from '@angular/core/testing' | ||
|
||
import { ShareEmailsDomainsComponent } from './share-emails-domains.component'; | ||
import { ShareEmailsDomainsComponent } from './share-emails-domains.component' | ||
import { FormBuilder, FormControl, FormGroup } from '@angular/forms' | ||
import { RecordEmailsService } from 'src/app/core/record-emails/record-emails.service' | ||
import { PlatformInfoService } from '../../platform-info' | ||
|
||
describe('ShareEmailsDomainsComponent', () => { | ||
let component: ShareEmailsDomainsComponent; | ||
let fixture: ComponentFixture<ShareEmailsDomainsComponent>; | ||
let component: ShareEmailsDomainsComponent | ||
let fixture: ComponentFixture<ShareEmailsDomainsComponent> | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ShareEmailsDomainsComponent] | ||
}); | ||
fixture = TestBed.createComponent(ShareEmailsDomainsComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
declarations: [ShareEmailsDomainsComponent], | ||
providers: [ | ||
{ | ||
provide: PlatformInfoService, | ||
useValue: {}, | ||
}, | ||
{ | ||
provide: FormBuilder, | ||
useValue: { | ||
array: () => [new FormControl({})], | ||
group: () => new FormGroup({}), | ||
}, | ||
}, | ||
{ | ||
provide: RecordEmailsService, | ||
useValue: {}, | ||
}, | ||
], | ||
}) | ||
fixture = TestBed.createComponent(ShareEmailsDomainsComponent) | ||
component = fixture.componentInstance | ||
fixture.detectChanges() | ||
}) | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); | ||
expect(component).toBeTruthy() | ||
}) | ||
}) |
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