fix: change test input type

Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
This commit is contained in:
Elaine Mattos
2023-12-25 18:52:47 +01:00
parent 2a3360a77f
commit 728e1a0b48
@@ -16,7 +16,7 @@
import { PassThrough } from 'stream';
import { getVoidLogger } from '@backstage/backend-common';
import { createGitlabIssueAction } from './createGitlabIssueAction';
import { createGitlabIssueAction, IssueType } from './createGitlabIssueAction';
import { ConfigReader } from '@backstage/core-app-api';
import { ScmIntegrations } from '@backstage/integration';
import { advanceTo, clear } from 'jest-date-mock';
@@ -163,7 +163,7 @@ describe('gitlab:issues:create', () => {
input: {
repoUrl: 'gitlab.com?repo=repo&owner=owner',
projectId: 123,
issueType: 'incident',
issueType: IssueType.INCIDENT,
title: 'Computer banks to rule the world',
description:
'this issue should kickstart research on instruments to sight the stars',