0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
Commit graph

13 commits

Author SHA1 Message Date
simeng-li
476de8d2ff
chore(core,ui): set jest config coverage report to all files (#4090)
set jest config coverage report to all files
2023-06-29 13:59:23 +08:00
Gao Sun
ab54c38cd5
refactor(core): check connector-kit compatibility when load connector (#2798) 2023-01-01 18:36:46 +08:00
Gao Sun
25f0a2e158
test: use native ESM (#2621) 2022-12-12 13:43:23 +08:00
Gao Sun
2d7918a224
feat(jest-config): init package (#644)
* feat(jest-config): init package

* chore(deps): upgrade `@types/jest`

* fix(core): add jest-matcher dependency

add jest-matcher dependency

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-04-24 18:02:18 +08:00
Gao Sun
dff23b57db
refactor(core): move database pool into env set 2022-04-20 15:56:38 +08:00
Gao Sun
08ce66f317
refactor(core): use SSOT for env variables (#578)
* refactor(core): use SSOT for env variables

* fix(core): tests
2022-04-20 14:14:37 +08:00
IceHe.xyz
5625b8838c
refactor(core): split mock.ts into __mocks__/*.ts (#510)
* chore(core,ui): coverage ignore src/__mocks__/

* chore(core): build excludes src/__mocks__/

* refactor(core): split mock.ts into __mocks__/*.ts
2022-04-08 09:47:09 +00:00
simeng-li
c8d45a13f0
test(core): add middleware tests [1 of 2] (#244)
* test(core): add middleware tests

add middleware tests

* fix(ut): fix typo

fix typo
2022-02-17 14:21:29 +08:00
simeng-li
af89e9ac30
test(core): add ut for app (#227)
* test(core): add ut for app

add ut for app

* fix(jest): remove jest setup

remove jest setup

* fix(ut): mock env viriables

mock env viriables

* refactor(ut): add env variable test utils

add env variable test util

* fix(core): fix rebase issue

fix rebase issue

* fix(ut): update app ut

update app ut

* fix(core): remove supertest dependency

remove supertest

* fix(ut): cr fix

cr fix
2022-02-15 18:36:57 +08:00
simeng-li
aafc258ad9
ci(codecov): add jest coverage report (#167)
* ci(codecov): add jest coverage report

add coverage report on core and ui project
add codecov uploader job

* ci: add report upload github workflow action

add report upload github workflow action

* ci: fix ci replace github test actions with test:report

 fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00
Gao Sun
635fa92853
test(core): add tests for database insert-into.ts (#99) 2021-08-31 00:48:33 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config (#98) 2021-08-30 11:30:54 +08:00
Gao Sun
cd57fe8866
feat(core): setup jest 2021-08-20 14:53:23 +08:00