Yusuke Wada

Results 1706 comments of Yusuke Wada

Hi @callmetwan How about using this `vitest.config.ts`? ```ts import { defineConfig } from 'vitest/config' export default defineConfig({ test: { globals: true } }) ```

@callmetwan You can use `@cloudflare/vitest-pool-workers`: https://developers.cloudflare.com/workers/testing/vitest-integration/

@callmetwan How about using this config? ```ts export default defineWorkersProject(async () => { return { test: { poolOptions: { workers: { miniflare: { compatibilityFlags: ['nodejs_compat'], compatibilityDate: '2024-04-01', d1Databases: ['DB'], }...

@callmetwan Please refer to this project: https://github.com/yusukebe/testing-d1-app-with-types

Hi @yasuaki640 No particular direction. Either is fine if we can make it possible. And, I'm not picky about using comments. If we can get the React hydration right and...

Hi @hariyebk It's not a bug. Try to pass the generics to `new Hono`: ```ts type Variables = { message: string } const app = new Hono() ```

Hi @lrapoport-cf ! Cool! I did not know the option. It works well. There is nothing more to say. Now I can get on with development. Thank you!

Hi @berlysia !! Thank you for raising the issue. One question. Does this problem happen in a development environment? I've tried it. Indeed, it does not work with HTML and...

Hi @berlysia Thank you for explaining! We should fix them. I'll investigate, but now we have problem #155. I don't know if it is related to this issue, but I'm...