The actual snapshot is saved in test.js.snap
.
Generated by AVA.
matchFieldNameArguments
[
{
projectFieldName: 'title',
userFieldName: 'title',
},
{
projectFieldName: 'assignees',
userFieldName: 'title',
},
{
projectFieldName: 'status',
userFieldName: 'title',
},
{
projectFieldName: 'labels',
userFieldName: 'title',
},
{
projectFieldName: 'repository',
userFieldName: 'title',
},
{
projectFieldName: 'milestone',
userFieldName: 'title',
},
{
projectFieldName: 'relevant to users?',
userFieldName: 'title',
},
{
projectFieldName: 'title',
userFieldName: 'status',
},
{
projectFieldName: 'assignees',
userFieldName: 'status',
},
{
projectFieldName: 'status',
userFieldName: 'status',
},
{
projectFieldName: 'labels',
userFieldName: 'status',
},
{
projectFieldName: 'repository',
userFieldName: 'status',
},
{
projectFieldName: 'milestone',
userFieldName: 'status',
},
{
projectFieldName: 'relevant to users?',
userFieldName: 'status',
},
{
projectFieldName: 'title',
userFieldName: 'something totally different!',
},
{
projectFieldName: 'assignees',
userFieldName: 'something totally different!',
},
{
projectFieldName: 'status',
userFieldName: 'something totally different!',
},
{
projectFieldName: 'labels',
userFieldName: 'something totally different!',
},
{
projectFieldName: 'repository',
userFieldName: 'something totally different!',
},
{
projectFieldName: 'milestone',
userFieldName: 'something totally different!',
},
{
projectFieldName: 'relevant to users?',
userFieldName: 'something totally different!',
},
]
items
[
{
fields: {
relevantToUsers: 'Yes',
status: 'Yes',
title: 'Yes',
},
id: 'PNI_lADOBYMIeM0lfM4AAzDD',
type: 'DRAFT_ISSUE',
},
{
content: {
assignees: [],
closed: false,
closedAt: null,
createdAt: '2021-10-13T19:58:16Z',
databaseId: 757727957,
id: 'PR_kwDOGNkQys4tKgLV',
isIssue: false,
isPullRequest: true,
labels: [],
merged: false,
milestone: null,
number: 1,
repository: 'example-product',
title: 'Update README.md',
url: 'https://github.com/gr2m-issues-automation-sandbox/example-product/pulls/1',
},
fields: {
relevantToUsers: null,
status: null,
title: null,
},
id: 'PNI_lADOBYMIeM0lfM4AAzDx',
type: 'PULL_REQUEST',
},
{
content: {
assignees: [],
closed: false,
closedAt: null,
createdAt: '2021-10-13T20:07:02Z',
databaseId: 1025649858,
id: 'I_kwDOGNkQys49IizC',
isIssue: true,
isPullRequest: false,
labels: [],
milestone: null,
number: 2,
repository: 'example-product',
title: 'Enforce setting project via github actions',
url: 'https://github.com/gr2m-issues-automation-sandbox/example-product/issues/2',
},
fields: {
relevantToUsers: null,
status: null,
title: null,
},
id: 'PNI_lADOBYMIeM0lfM4ADfm9',
type: 'ISSUE',
},
]
matchFieldOptionValueArguments
[
{
fieldOptionValue: 'Yes',
userValue: 'yep',
},
]
updatedItem
{
content: {
assignees: [],
closed: false,
closedAt: null,
createdAt: '2021-10-13T20:07:02Z',
databaseId: 1025649858,
id: 'I_kwDOGNkQys49IizC',
isIssue: true,
isPullRequest: false,
labels: [],
milestone: null,
number: 2,
repository: 'example-product',
title: 'Enforce setting project via github actions',
url: 'https://github.com/gr2m-issues-automation-sandbox/example-product/issues/2',
},
fields: {
relevantToUsers: 'yep',
status: null,
title: 'Enforce setting project via github actions',
},
id: 'PNI_lADOBYMIeM0lfM4ADfm9',
type: 'ISSUE',
}