Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,12 @@ describe('SubmissionSectionCcLicensesComponent', () => {

const ccLicence = submissionCcLicenses[1];

beforeEach(() => {
beforeEach(fakeAsync(() => {
component.selectCcLicense(ccLicence);
fixture.detectChanges();
});
tick(300); // Flush debounce timer so no real timer leaks into subsequent fakeAsync zones
fixture.detectChanges();
}));

it('should display the selected cc license', () => {
expect(component.selectedCcLicense.name).toContain('test license name 2');
Expand Down