Skip to content

Commit

Permalink
Fix imports and test
Browse files Browse the repository at this point in the history
  • Loading branch information
dulnan committed Jul 2, 2024
1 parent ee2da08 commit 42bf318
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/runtime/composables/useGraphqlState.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useNuxtApp } from '#imports'
import { type NuxtApp } from '#app'
import type { NuxtApp } from '#app'
import { type GraphqlMiddlewareState } from './../../types'

export const useGraphqlState = function (
Expand Down
5 changes: 0 additions & 5 deletions test/runtime/composables/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ vi.mock('#imports', () => {
},
}
},
}
})

vi.mock('#app', () => {
return {
useNuxtApp: () => {
return {
$graphqlState: {
Expand Down

0 comments on commit 42bf318

Please sign in to comment.