Skip to content

Commit

Permalink
refactor: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Oct 21, 2024
1 parent c207809 commit fff60bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/composables/url-params.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { computed, watch } from 'vue'
import { useRoute, useRouter, onBeforeRouteUpdate } from 'vue-router'
import { useRoute, useRouter } from 'vue-router'
import { useStore } from 'vuex'
import {
compact,
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/specs/composables/url-params.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ describe('replaceUrlParam', () => {

it('should transform the parameter when "to" is a function', async () => {
const to = (value) => ({
transformedParam: value.toUpperCase(),
transformedParam: value.toUpperCase()
})

const [, router] = withSetup({
Expand Down Expand Up @@ -412,4 +412,3 @@ describe('replaceUrlParam', () => {
expect(router.currentRoute.value.query).toEqual({ perPage: '10' })
})
})

0 comments on commit fff60bf

Please sign in to comment.