Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DinaYakovlev committed Feb 28, 2021
1 parent 1a319fb commit 3b09b3d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ describe('Koa Instrumentation', () => {

const exportedRootSpan = memoryExporter
.getFinishedSpans()
.find(span => span.name === 'rootSpan');
.find(span => span.name === 'GET /post/:id');
assert.notStrictEqual(exportedRootSpan, undefined);
});
});
Expand Down Expand Up @@ -200,7 +200,7 @@ describe('Koa Instrumentation', () => {

const exportedRootSpan = memoryExporter
.getFinishedSpans()
.find(span => span.name === 'rootSpan');
.find(span => span.name === 'GET /:first/post/:id');
assert.notStrictEqual(exportedRootSpan, undefined);
});
});
Expand Down Expand Up @@ -240,7 +240,7 @@ describe('Koa Instrumentation', () => {

const exportedRootSpan = memoryExporter
.getFinishedSpans()
.find(span => span.name === 'rootSpan');
.find(span => span.name === 'GET /:first/post/:id');
assert.notStrictEqual(exportedRootSpan, undefined);
});
});
Expand Down

0 comments on commit 3b09b3d

Please sign in to comment.