Skip to content

Commit

Permalink
Fix error test
Browse files Browse the repository at this point in the history
Signed-off-by: Everett Ross <reverett@uber.com>
  • Loading branch information
everett980 committed Oct 14, 2019
1 parent d3ea96d commit 8efe8ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jaeger-ui/src/model/ddg/transformDdgData.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ describe('transform ddg data', () => {
it('throws an error if a path lacks the focalPayloadElem', () => {
const { simplePath, noFocalPath, doubleFocalPath, focalPayloadElem } = testResources;
expect(() =>
testResources.wrap(transformDdgData([simplePath, noFocalPath, doubleFocalPath]), focalPayloadElem)
).toThrowError();
transformDdgData(testResources.wrap([simplePath, noFocalPath, doubleFocalPath]), focalPayloadElem)
).toThrowError(/focalNode/);
});

it('creates equal hashes iff paths are equivalent', () => {
Expand Down

0 comments on commit 8efe8ec

Please sign in to comment.