0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 02:07:30 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Shotaro Nakamura
6cf01e5523
fix(build): remove private fields (#3514)
* fix(build): remove private fields

* chore: format scripts

* test: add test code

* reduce package.json diff

* feat(build): add progress for removing private fields

* feat: rename `scripts` to `build`
2024-10-15 17:23:18 +09:00
m-shaka
66df4e1296
ci: Type check perf (#3406)
* chore: add scripts to monitor type check performance

* chore: add jobs for type-check-perf-monitoring

* chore: rm a comment

* refactor: mv type-check-perf perf-measures/type-check

* rm .eslintrc.cjs

* chore: ignore *result.txt
2024-09-22 18:11:32 +09:00
Yusuke Wada
dfbd717263
chore: rename runtime_tests to runtime-tests (#3419)
* chore: rename `runtime_tests` to `runtime-tests`

* fixed GitHub workflow
2024-09-17 14:51:43 +09:00
Ame_x
84424ad3a5
chore: moving the setup file of vitest (#3157) 2024-07-20 00:02:35 +09:00
Yusuke Wada
fd6ad5e7b1
chore: add text and html for coverage reporter (#2923) 2024-06-06 22:25:38 +09:00
TATSUNO “Taz” Yasuhiro
b6934cb210
chore: Exclude type-only files from coverage (#2890) 2024-06-03 00:19:33 +09:00
TATSUNO “Taz” Yasuhiro
8cc8a05c89
ci: Report coverage with CodeCov (#2862)
* Output coverage per each test

* Collect coverage

* Exclude test-only files

* update comment

* exclude types

* Add config

* Update bun comment

* Generate coverage in Deno
2024-06-01 04:17:47 +09:00
Yusuke Wada
1b2a4c0800
feat(jsr): support JSR (#2662)
* feat(jsr): reduce slow types (#2369)

* feat(jsr): reduce slow types

* fix: use allow function

* chore: format code

* chore: denoify

* add `deno.json`

* add `jsr-dry-run` command for CI

* don't put `JSX` on `global`

* fix test settings for deno

* don't use `dynamicClass`

* don't declare `ExecutionContext` in `global`

* goodbye denoify

* exports `./middleware`

* exports `./helper`

* exports each helper and middleware

* remove the `awslambda` implementation which is not enough

* feat(jsr): remove helper.ts and middleware.ts (#2667)

* feat(jsr): remove helper.ts and middleware.ts

* fix: fix test

* dont' use `SuperClass`

Co-authored-by: Taku Amano <taku@taaas.jp>

* feat(jsr): delete `mod.ts` (#2669)

* rename `deno.json` to `jsr.json`

* lint

* remove slow type in lambda adapter

* fixed runtime test for deno

* export all utils

* add a GitHub action to publish the package to JSR

* fixed declaring `ContextVariableMap`

* fixed the type error

* include `jsr.json` in `jsr.json`

* update `jsr.json`

---------

Co-authored-by: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com>
Co-authored-by: Taku Amano <taku@taaas.jp>
2024-05-24 17:47:28 +09:00
Taku Amano
e6913190b7
test: add router/common.case.test.ts (#2258)
* test: remove unused spy

* refactor: add "@typescript-eslint/no-explicit-any" for avoiding lint error

* test: exclude *.case.test.ts files from vitest

These special files are used to share test cases between different modules or runtime environments.
* shared among multiple routers
* shared by renderToString and renderToDom

* test: rename helper/css/common.test.tsx to helper/css/common.case.test.tsx

* test: add router/common.case.test.ts

* test: remove redundant skip field
2024-02-24 12:28:59 +09:00
watany
9df32310aa
chore: vitest test.pool to forks (#2098) 2024-01-27 14:32:49 +09:00
Yusuke Wada
90259f3acb
test: use Node.js Native Web APIs instead of miniflare's (#1558)
* test: use Node.js Native Web APIs instead of miniflare's

* `denoify-ignore`
2023-10-10 21:32:10 +09:00
Yusuke Wada
b7161090ea
test: ignore sandbox dir (#1424) 2023-09-08 18:10:12 +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