diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b37924..7f316b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,3 +18,5 @@ jobs: npm install - run: | npm run build + - run: | + npm run test diff --git a/__tests__/add-to-project.test.ts b/__tests__/add-to-project.test.ts index c6a7cf8..bbb0383 100644 --- a/__tests__/add-to-project.test.ts +++ b/__tests__/add-to-project.test.ts @@ -266,17 +266,17 @@ describe('addToProject', () => { test: /getProject/, return: { organization: { - projectNext: { + projectV2: { id: 'project-next-id' } } } }, { - test: /addProjectNextItem/, + test: /addProjectV2ItemById/, return: { - addProjectNextItem: { - projectNextItem: { + addProjectV2ItemById: { + item: { id: 'project-next-item-id' } } @@ -559,17 +559,17 @@ describe('addToProject', () => { test: /getProject/, return: { organization: { - projectNext: { + projectV2: { id: 'project-next-id' } } } }, { - test: /addProjectNextItem/, + test: /addProjectV2ItemById/, return: { - addProjectNextItem: { - projectNextItem: { + addProjectV2ItemById: { + item: { id: 'project-next-item-id' } }