0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 19:44:26 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Yoshiaki Sugimoto
7a55399bc2
test: Use vitest for fastly compute testing (#1828)
* use vitest for fastly compute testing

* reflect reviews and solve problem

* chore: update comment

* run lint:fix
2023-12-17 21:17:18 +09:00
Derrick Farris
5b07146cf8
test(vitest): replace jest with vitest (#1404)
* test(vitest): replace `jest` with `vitest` for core tests

* test(fastly): `jest` -> `vitest`, correct env for fastly

* test(jest): remove `jest-environment-miniflare` as dep

* test(lagon): configure `lagon` tests to run on `vitest`

* test(lambda): `jest` -> `vitest`

* test(lambda-edge): `jest` -> `vitest`

* test(node): `jest` -> `vitest`

* test(wrangler): `jest` -> `vitest`

* chore(deps): remove `jest` and `ts-jest` from deps

* test(vitest): add `yarn coverage` for checking coverage

* test(fastly): fix check for `globalThis.crypto`

* test(handler): fix stray `.only`

* test(lagon): change env file back to original path

* test(fastly): go back to `jest` until `vitest` has support for fastly env

* test(fastly): remove hack for the `crypto` global from the test
2023-09-08 17:42:28 +09:00
Yusuke Wada
e07019125d
feat: introduce "Helpers" (#1353)
* mv jsx

* introduce helper

* denoify & add src/helper.ts for Deno

* remove `c` not used

* remove `c` in lagon test

* remove `src/adapter.ts` not used
2023-08-21 15:22:37 +09:00
Yusuke Wada
f29761e16b
chore: move runtime tests into runtime_tests (#1062)
* chore: move runtime tests into `runtime_tests`

* fixed ci
2023-05-02 21:16:17 +09:00