tokenhousetopdev

Results 4 issues of tokenhousetopdev

Here is my jest config: ``` import dotenv from 'dotenv' dotenv.config({ path: '.env.test' }) export default { testEnvironment: 'miniflare', moduleFileExtensions: ['js', 'jsx', 'mjs'], coverageThreshold: { global: { branches: 70, functions:...

I would like to have an object like so: ``` export const register = z.object({ email: z.string().email(), password: z.string().superRefine(password), first_name: z.string(), last_name: z.string(), role: z.literal('user'), is_email_verified: z.literal(false) }); ``` But...

I would like to an endpoint like: `/github/:userId` And use a post request so I can link user accounts via ouath. I understand I could do GET but it just...

In the blog example you can use `getMiniflareBindings()` to get access to the global env variables. I am trying to do the same thing in my project but can't replicate...