fix tests to account for api change

This commit is contained in:
Matthew Costabile
2022-06-30 13:13:58 +00:00
committed by GitHub
parent 92eaaeabac
commit 80b198ce77
2 changed files with 10 additions and 8 deletions

View File

@@ -18,3 +18,5 @@ jobs:
npm install npm install
- run: | - run: |
npm run build npm run build
- run: |
npm run test

View File

@@ -266,17 +266,17 @@ describe('addToProject', () => {
test: /getProject/, test: /getProject/,
return: { return: {
organization: { organization: {
projectNext: { projectV2: {
id: 'project-next-id' id: 'project-next-id'
} }
} }
} }
}, },
{ {
test: /addProjectNextItem/, test: /addProjectV2ItemById/,
return: { return: {
addProjectNextItem: { addProjectV2ItemById: {
projectNextItem: { item: {
id: 'project-next-item-id' id: 'project-next-item-id'
} }
} }
@@ -559,17 +559,17 @@ describe('addToProject', () => {
test: /getProject/, test: /getProject/,
return: { return: {
organization: { organization: {
projectNext: { projectV2: {
id: 'project-next-id' id: 'project-next-id'
} }
} }
} }
}, },
{ {
test: /addProjectNextItem/, test: /addProjectV2ItemById/,
return: { return: {
addProjectNextItem: { addProjectV2ItemById: {
projectNextItem: { item: {
id: 'project-next-item-id' id: 'project-next-item-id'
} }
} }