Skip to content

Commit 3f35e17

Browse files
committed
Fix formatting
1 parent 4085036 commit 3f35e17

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/vue/src/tanstackrouter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function tanstackRouterBrowserTracingIntegration<R extends AnyRouter>(
6969
// onBeforeNavigate is called during pageloads. We can avoid creating navigation spans by:
7070
// 1. Checking if there's no fromLocation (initial pageload)
7171
// 2. Comparing the states of the to and from arguments
72-
72+
7373
if (
7474
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
7575
!onBeforeNavigateArgs.fromLocation ||

packages/vue/test/tanstackrouter.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ describe('tanstackRouterBrowserTracingIntegration', () => {
7676
});
7777

7878
it('creates an integration with the correct name', () => {
79-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter );
79+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter);
8080
expect(integration.name).toBe('BrowserTracing');
8181
});
8282

8383
it('instruments pageload on setup', () => {
84-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter , {
84+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter, {
8585
instrumentPageLoad: true,
8686
});
8787

@@ -109,7 +109,7 @@ describe('tanstackRouterBrowserTracingIntegration', () => {
109109
});
110110

111111
it('does not instrument pageload when instrumentPageLoad is false', () => {
112-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter , {
112+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter, {
113113
instrumentPageLoad: false,
114114
});
115115

@@ -119,7 +119,7 @@ describe('tanstackRouterBrowserTracingIntegration', () => {
119119
});
120120

121121
it('subscribes to router navigation events when instrumentNavigation is true', () => {
122-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter , {
122+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter, {
123123
instrumentNavigation: true,
124124
});
125125

@@ -129,7 +129,7 @@ describe('tanstackRouterBrowserTracingIntegration', () => {
129129
});
130130

131131
it('does not subscribe to navigation events when instrumentNavigation is false', () => {
132-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter , {
132+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter, {
133133
instrumentNavigation: false,
134134
});
135135

@@ -140,7 +140,7 @@ describe('tanstackRouterBrowserTracingIntegration', () => {
140140
});
141141

142142
it('creates navigation spans with correct attributes', () => {
143-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter , {
143+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter, {
144144
instrumentNavigation: true,
145145
instrumentPageLoad: false, // Disable pageload to isolate navigation test
146146
});
@@ -179,7 +179,7 @@ describe('tanstackRouterBrowserTracingIntegration', () => {
179179
});
180180

181181
it('skips navigation span creation when state is the same', () => {
182-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter , {
182+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter, {
183183
instrumentNavigation: true,
184184
instrumentPageLoad: false,
185185
});
@@ -208,7 +208,7 @@ describe('tanstackRouterBrowserTracingIntegration', () => {
208208
});
209209

210210
it('updates navigation span on redirect using onResolved', () => {
211-
const integration = tanstackRouterBrowserTracingIntegration(mockRouter , {
211+
const integration = tanstackRouterBrowserTracingIntegration(mockRouter, {
212212
instrumentNavigation: true,
213213
instrumentPageLoad: false,
214214
});

0 commit comments

Comments
 (0)