-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
301988f
commit 664e851
Showing
3 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
32 changes: 17 additions & 15 deletions
32
...end/src/app/data-entry/shared/delete-entity-button/delete-entity-button.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,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { ComponentFixture, TestBed } from "@angular/core/testing"; | ||
|
||
import { DeleteEntityButtonComponent } from './delete-entity-button.component'; | ||
import { DeleteEntityButtonComponent } from "./delete-entity-button.component"; | ||
import { SharedTestingModule } from "@shared/shared-testing.module"; | ||
|
||
describe('DeleteEntityButtonComponent', () => { | ||
let component: DeleteEntityButtonComponent; | ||
let fixture: ComponentFixture<DeleteEntityButtonComponent>; | ||
describe("DeleteEntityButtonComponent", () => { | ||
let component: DeleteEntityButtonComponent; | ||
let fixture: ComponentFixture<DeleteEntityButtonComponent>; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [DeleteEntityButtonComponent] | ||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [DeleteEntityButtonComponent], | ||
imports: [SharedTestingModule] | ||
}); | ||
fixture = TestBed.createComponent(DeleteEntityButtonComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
fixture = TestBed.createComponent(DeleteEntityButtonComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
it("should create", () => { | ||
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
4 changes: 3 additions & 1 deletion
4
frontend/src/app/data-entry/shared/form-status/form-status.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