Skip to content

Commit 43a5fa0

Browse files
committed
fix test
1 parent ea190a4 commit 43a5fa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vue/test/router.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ describe('instrumentVueRouter()', () => {
121121
beforeEachCallback(to, testRoutes['initialPageloadRoute']!, mockNext); // fake initial pageload
122122
beforeEachCallback(to, from, mockNext);
123123

124-
expect(mockStartSpan).toHaveBeenCalledTimes(1);
125-
expect(mockStartSpan).toHaveBeenCalledWith({
124+
expect(mockStartSpan).toHaveBeenCalledTimes(2);
125+
expect(mockStartSpan).toHaveBeenLastCalledWith({
126126
name: transactionName,
127127
attributes: {
128128
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.navigation.vue',

0 commit comments

Comments
 (0)