Skip to content

Commit

Permalink
chore: fix web test
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Sep 13, 2021
1 parent 6313bef commit 0099650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-collector/test/helper.ts
Expand Up @@ -24,7 +24,7 @@ import {
ValueRecorder,
ValueType,
} from '@opentelemetry/api-metrics';
import { hexToBase64, InstrumentationLibrary, VERSION } from '@opentelemetry/core';
import { hexToBase64, InstrumentationLibrary } from '@opentelemetry/core';
import * as metrics from '@opentelemetry/sdk-metrics-base';
import { Resource } from '@opentelemetry/resources';
import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
Expand Down Expand Up @@ -541,7 +541,7 @@ export function ensureWebResourceIsCorrect(
assert.strictEqual(resource.attributes[2].key, 'telemetry.sdk.name');
assert.strictEqual(resource.attributes[2].value.stringValue, 'opentelemetry');
assert.strictEqual(resource.attributes[3].key, 'telemetry.sdk.version');
assert.strictEqual(resource.attributes[3].value.stringValue, VERSION);
// Do not assert a specific version because the metric sdk version may not match the core or exporter version
assert.strictEqual(resource.attributes[4].key, 'service');
assert.strictEqual(resource.attributes[4].value.stringValue, 'ui');
assert.strictEqual(resource.attributes[5].key, 'version');
Expand Down

0 comments on commit 0099650

Please sign in to comment.