Commit Graph

45 Commits

Author SHA1 Message Date
Louis Lam d95e722658 Init dayjs for backend.spec.js 2022-10-11 22:09:18 +08:00
Ben Scobie c28d8ddff9
Correctly handle multiple IPs in X-Forwarded-For (#2177)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2022-10-05 23:45:21 +08:00
Louis Lam b993859926
Drop Jest e2e testing (#2174) 2022-10-05 14:26:30 +08:00
Louis Lam afbc283423
Move Cypress directory and convert it to JavaScript (#2170) 2022-10-04 22:23:57 +08:00
tamasmagyar a68d945cdc simplified backend unit tests 2022-06-07 09:10:50 +02:00
Jordan Bertasso c5faf709b8
Merge branch 'master' into fix-1448-discord-service-url 2022-05-10 22:53:55 +10:00
Louis Lam d962ab7a1c Merge branch 'master' into uptime-badges
# Conflicts:
#	package-lock.json
#	server/routers/api-router.js
2022-05-01 17:03:11 +08:00
Matthew Nickson b641c8a878
Add JSDoc to test/*
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2022-04-22 23:24:14 +01:00
Jens Neuber e103ac8335 Merge branch 'master' of https://github.com/louislam/uptime-kuma into uptime-badges 2022-04-20 10:10:14 +02:00
Jordan Bertasso 288ed1e3ca
Merge branch 'master' into fix-1448-discord-service-url 2022-04-15 14:13:44 +10:00
Louis Lam 649f3106e1 Enforce semicolon, fix format globally 2022-04-14 01:20:54 +08:00
jordanbertasso 0765f05090 Update Discord tests 2022-04-12 09:52:16 +10:00
jordanbertasso 1b1e0f6dd9 Add Discord tests 2022-04-10 22:02:30 +10:00
AnnAngela-work 783173fd1f Add a helper function 2022-03-02 15:48:08 +08:00
Jens Neuber 6acc9546a0 PR feedback + remove redundant code + add a test 2022-01-04 16:00:21 +01:00
Louis Lam bf8dbd78b3 temporary disable test for settings page 2021-11-29 17:25:30 +08:00
Nelson Chan 88ed965d69 Test: Disable clear stats test 2021-11-17 10:52:14 +08:00
Nelson Chan 7f4d5a0f76 Test: fix tests
Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Attempt to fix tests

Test: Investigate error message

Test: Attempt to fix tests

Chore: Cleanup code

Test: Attempt to fix tests

Test: Attempt to fix tests
2021-11-17 10:45:24 +08:00
Nelson Chan 07742799ed Test: Fix tests
Test: Add clear stats test

Test: Attempt to fix tests

Test: Add test for disable auth

Update README
2021-11-17 10:45:19 +08:00
Louis Lam 41a6d1b701 Fix parseCertificateInfo possibly in dead loop 2021-11-08 15:39:17 +08:00
Louis Lam 2e24312f67 [test] jest please 2021-10-16 14:54:45 +08:00
Louis Lam 0f3ab7b1d8 [test] increase the timeout for reset-password 2021-10-16 12:56:33 +08:00
Louis Lam 4d26825cbe [test] reset-password 2021-10-16 01:33:44 +08:00
Louis Lam 2ff7c4de5d [test] genSecret 2021-10-13 22:16:46 +08:00
Louis Lam 407581ee07 move jest config files to config dir 2021-10-13 02:53:59 +08:00
LouisLam 01812cc446 [test] add test for i18n currentLocale 2021-10-08 15:11:50 +08:00
LouisLam 11abc1f1e0 [test] add test for i18n currentLocale 2021-10-08 13:35:04 +08:00
LouisLam c0846124c2 update vite to 1.6.4, since it fixed the issue 2021-10-07 21:23:28 +08:00
LouisLam 3c60800eab [test] github action please ok🙏🏻🙏🏻🙏🏻 2021-10-07 18:47:44 +08:00
LouisLam 34586d7b8f [test] github action please ok 2021-10-07 18:10:35 +08:00
LouisLam 67a623be18 e2e testing, it's hard 2021-10-07 17:48:13 +08:00
LouisLam b69550f5b9 Improve the test 2021-10-07 17:01:17 +08:00
LouisLam cb263f2a08 [test] wait for #language 2021-10-06 15:34:57 +08:00
LouisLam 2b00e59c7a [test] update 2021-10-06 15:25:00 +08:00
LouisLam 4ded0c073a [test] fix timeout issue 2021-10-06 13:26:43 +08:00
LouisLam 7c98fe603e test github secret 2021-10-05 21:11:11 +08:00
LouisLam 2bf6a04f81 fix preparing test 2021-10-05 20:37:32 +08:00
LouisLam 73bf1216d1 [wip] more test 2021-10-05 20:27:43 +08:00
LouisLam 79e0c9e1f1 setup unit test for setup 2021-10-05 17:39:44 +08:00
LouisLam d25603e629 update jest test 2021-10-05 16:03:35 +08:00
LouisLam a2a4c70cf5 setup jest-puppeteer 2021-10-03 18:16:55 +08:00
Louis 6ec219908b test nodejs 16 2021-09-17 15:19:19 +08:00
LouisLam 61944d642e wip: implementing install script 2021-08-19 02:04:49 +08:00
LouisLam 269ac2410b install.sh add supports for CentOS 2021-08-18 14:55:03 +08:00
LouisLam d218661f3d wip: implementing install script 2021-08-17 23:08:35 +08:00