Skip to content

Commit 7acf3b7

Browse files
committed
Lint
1 parent 69cd334 commit 7acf3b7

File tree

1 file changed

+3
-3
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/startNewTraceSampling

1 file changed

+3
-3
lines changed

dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/startNewTraceSampling/init.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Math.random = () => 0.45;
77

88
// Polyfill crypto.randomUUID
99
crypto.randomUUID = function randomUUID() {
10-
return (
11-
[1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,
10+
return ([1e7] + 1e3 + 4e3 + 8e3 + 1e11).replace(
11+
/[018]/g,
1212
// eslint-disable-next-line no-bitwise
13-
c => (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
13+
c => (c ^ (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))).toString(16),
1414
);
1515
};
1616

0 commit comments

Comments
 (0)