Skip to content

Commit

Permalink
Fix jest_integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Portner committed Jun 29, 2022
1 parent fef1008 commit f31c2ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,11 @@ describe(`POST ${URL}`, () => {
type: 'visualization',
id: 'new-id-1',
references: [{ name: 'ref_0', type: 'index-pattern', id: 'my-pattern' }],
originId: undefined,
}),
expect.objectContaining({
type: 'dashboard',
id: 'new-id-2',
references: [{ name: 'ref_0', type: 'visualization', id: 'new-id-1' }],
originId: undefined,
}),
],
expect.any(Object) // options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,11 @@ describe(`POST ${URL}`, () => {
type: 'visualization',
id: 'new-id-1',
references: [{ name: 'ref_0', type: 'index-pattern', id: 'existing' }],
originId: undefined,
}),
expect.objectContaining({
type: 'dashboard',
id: 'new-id-2',
references: [{ name: 'ref_0', type: 'visualization', id: 'new-id-1' }],
originId: undefined,
}),
],
expect.any(Object) // options
Expand Down

0 comments on commit f31c2ad

Please sign in to comment.