Skip to content

Commit

Permalink
Fix vue warnings around invalid templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pleek91 committed Nov 29, 2024
1 parent e68163a commit 720fb9b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/compositions/useQueryValue.browser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ test('returns correct value and values when key does not exist', async () => {
await router.start()

const component = {
template: 'empty',
setup() {
return useQueryValue('foo')
},
Expand Down Expand Up @@ -45,6 +46,7 @@ test('returns correct value and values when key does exist', async () => {
await router.start()

const component = {
template: 'empty',
setup() {
return useQueryValue('foo')
},
Expand Down Expand Up @@ -73,6 +75,7 @@ test('returns correct value and values when a param is used', async () => {
await router.start()

const component = {
template: 'empty',
setup() {
return useQueryValue('foo', Number)
},
Expand Down Expand Up @@ -101,6 +104,7 @@ test('updates value and values when the query string changes', async () => {
await router.start()

const component = {
template: 'empty',
setup() {
return useQueryValue('foo', Number)
},
Expand Down Expand Up @@ -134,6 +138,7 @@ test('updates the query string when the value is set', async () => {
await router.start()

const component = {
template: 'empty',
setup() {
const { value } = useQueryValue('foo', Number)

Expand Down Expand Up @@ -165,6 +170,7 @@ test('updates the query string when the values is set', async () => {
await router.start()

const component = {
template: 'empty',
setup() {
const { values } = useQueryValue('foo', Number)

Expand Down Expand Up @@ -196,6 +202,7 @@ test('removes the query string when the remove method is called', async () => {
await router.start()

const component = {
template: 'empty',
setup() {
const { remove } = useQueryValue('foo')

Expand Down

0 comments on commit 720fb9b

Please sign in to comment.