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
- run: |
npm run build
- run: |
npm run test

View File

@@ -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'
}
}