Skip to content

Commit e92abb9

Browse files
committed
fix test
1 parent 797828d commit e92abb9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/tracing-internal/test/browser/metrics/index.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,12 @@ describe('_addResourceSpans', () => {
236236
// eslint-disable-next-line @typescript-eslint/unbound-method, deprecation/deprecation
237237
expect(transaction.startChild).toHaveBeenLastCalledWith(
238238
expect.objectContaining({
239-
data: {},
239+
data: { "server.address": "example.com", "url.same_origin": true, "url.scheme": "https" },
240+
"description": "/assets/to/css",
241+
"endTimestamp": 468,
242+
"op": "resource.css",
243+
"origin": "auto.resource.browser.metrics",
244+
"startTimestamp": 445,
240245
}),
241246
);
242247
});

0 commit comments

Comments
 (0)