Skip to content

Commit b5ec1b5

Browse files
committed
Revert "chore: prevent error loading node oauth client when testing"
This reverts commit dc27dcc.
1 parent dc27dcc commit b5ec1b5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

server/plugins/oauth-client.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ import type { NodeOAuthClient } from '@atproto/oauth-client-node'
44
* Creates a long living instance of the NodeOAuthClient.
55
*/
66
export default defineNitroPlugin(async nitroApp => {
7-
if (import.meta.test) {
8-
return
9-
}
10-
117
const oauthClient = await getNodeOAuthClient()
128

139
// Attach to event context for access in composables via useRequestEvent()

0 commit comments

Comments
 (0)