Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sugi committed May 7, 2023
1 parent af91d48 commit 1dda106
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ describe('OTLPTraceExporter - web', () => {
fetchMock.restore();
});

const assertRequesetHeaders = (
const assertRequestHeaders = (
call: MockCall | undefined,
expected: Record<string, string>
) => {
Expand All @@ -603,7 +603,7 @@ describe('OTLPTraceExporter - web', () => {
collectorTraceExporter.export(spans, () => {
try {
assert.ok(fetchMock.called('*'));
assertRequesetHeaders(fetchMock.lastCall('*'), customHeaders);
assertRequestHeaders(fetchMock.lastCall('*'), customHeaders);
assert.strictEqual(stubBeacon.callCount, 0);
assert.strictEqual(stubOpen.callCount, 0);
assert.strictEqual(stubXhr.callCount, 0);
Expand Down

0 comments on commit 1dda106

Please sign in to comment.