We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1256ba6 commit dc27dccCopy full SHA for dc27dcc
1 file changed
server/plugins/oauth-client.ts
@@ -4,6 +4,10 @@ import type { NodeOAuthClient } from '@atproto/oauth-client-node'
4
* Creates a long living instance of the NodeOAuthClient.
5
*/
6
export default defineNitroPlugin(async nitroApp => {
7
+ if (import.meta.test) {
8
+ return
9
+ }
10
+
11
const oauthClient = await getNodeOAuthClient()
12
13
// Attach to event context for access in composables via useRequestEvent()
0 commit comments