diff --git a/static/js/directives/ui/manage-trigger/manage-trigger.component.spec.ts b/static/js/directives/ui/manage-trigger/manage-trigger.component.spec.ts index 078689d2f..7a2cf182e 100644 --- a/static/js/directives/ui/manage-trigger/manage-trigger.component.spec.ts +++ b/static/js/directives/ui/manage-trigger/manage-trigger.component.spec.ts @@ -13,6 +13,7 @@ describe("ManageTriggerComponent", () => { var tableServiceMock: Mock; var triggerServiceMock: Mock; var rolesServiceMock: Mock; + var keyServiceMock: Mock; var repository: any; var $scopeMock: Mock; @@ -21,11 +22,13 @@ describe("ManageTriggerComponent", () => { tableServiceMock = new Mock(); triggerServiceMock = new Mock(); rolesServiceMock = new Mock(); + keyServiceMock = new Mock(); $scopeMock = new Mock(); component = new ManageTriggerComponent(apiServiceMock.Object, tableServiceMock.Object, triggerServiceMock.Object, rolesServiceMock.Object, + keyServiceMock.Object, $scopeMock.Object); component.repository = {namespace: "someuser", name: "somerepo"}; component.trigger = {id: "2cac6317-754e-47d4-88d3-2a50b3f09ee3", service: "github"};