Commit Graph

677 Commits (unit-tests)

Author SHA1 Message Date
MillenniumEarl 0e1215e5c9 Ignore file in test 2021-03-11 11:01:42 +01:00
MillenniumEarl 83d049eeec Prettify scripts 2021-03-11 10:57:39 +01:00
Millennium Earl 5ea465f940
Merge pull request #77 from MillenniumEarl/ts-tests
Add unit tests
2021-03-10 22:22:18 +01:00
MillenniumEarl 919503d95f Replace map with for statement 2021-03-10 17:41:08 +01:00
MillenniumEarl 43b3a63f41 Merge tests 2021-03-10 17:18:48 +01:00
MillenniumEarl dc962c3ecf Add tests 2021-03-10 15:13:29 +01:00
MillenniumEarl 237b0f2942 Ad main index for tests 2021-03-10 15:13:23 +01:00
MillenniumEarl 08aa76ec26 Avoid auth and set internal login status 2021-03-10 15:13:11 +01:00
MillenniumEarl b3db3fa659 Add helper functions 2021-03-10 15:12:47 +01:00
MillenniumEarl 0924cedbb1 Add ID validation in setID 2021-03-10 15:01:45 +01:00
MillenniumEarl fd830d41fa Update JSDOC 2021-03-10 14:37:14 +01:00
MillenniumEarl fa17008758 Fix overwrite of "Other" field 2021-03-10 12:46:39 +01:00
MillenniumEarl 229a7a7e78 Add test for PlatformUser class 2021-03-10 12:32:13 +01:00
MillenniumEarl 712bd6a8d6 Fix wrong check for IDs validation 2021-03-10 12:30:52 +01:00
MillenniumEarl 5fa50505e4 Remove @lodash 2021-03-10 12:30:35 +01:00
MillenniumEarl f888b96c7a Add logout method 2021-03-10 12:25:43 +01:00
MillenniumEarl 2b1ab96da5 CHange for with map 2021-03-10 12:22:12 +01:00
MillenniumEarl bd7469415a Remove eslint-disable 2021-03-10 12:19:17 +01:00
MillenniumEarl 31f8f19aa3 Fix non absolute date difference 2021-03-10 12:17:23 +01:00
MillenniumEarl b841da19c0 Fix async elaborateResponse 2021-03-10 11:47:21 +01:00
MillenniumEarl 9ea1443074 Prettify script 2021-03-10 11:35:30 +01:00
MillenniumEarl e04b7e2338 Add InvalidID error 2021-03-10 11:35:22 +01:00
MillenniumEarl c0a9718489 Add check for invalid ID 2021-03-10 10:20:05 +01:00
MillenniumEarl c5d449d411 Implement elaborateResponse 2021-03-10 10:19:02 +01:00
MillenniumEarl 144547f3bf Remove fetchPosts 2021-03-10 10:18:27 +01:00
MillenniumEarl 2ab470b25e Implements ILazy interface 2021-03-10 10:06:44 +01:00
MillenniumEarl 1b7cf2b85a Export const USER_NOT_LOGGED 2021-03-10 10:00:57 +01:00
MillenniumEarl fbe2faf53b Add login check 2021-03-10 10:00:41 +01:00
MillenniumEarl df7141227b Install @chai-as-promised 2021-03-10 09:34:58 +01:00
MillenniumEarl a9fb7231e6 Translate in typescript 2021-03-08 20:57:25 +01:00
MillenniumEarl 808fd7f992 Expose PrefixParser 2021-03-08 20:57:14 +01:00
MillenniumEarl dbc7d38d3f Add coverage support 2021-03-08 20:56:50 +01:00
MillenniumEarl f440c6eee5 Add @types/lodash 2021-03-08 19:01:58 +01:00
MillenniumEarl 0c0a2077b3 Update isNumeric function 2021-03-08 16:35:59 +01:00
MillenniumEarl 6ce6b6da1b Add reporter to mocha 2021-03-08 16:20:23 +01:00
MillenniumEarl 9f534661c8 Add credentials class tests 2021-03-08 12:45:12 +01:00
MillenniumEarl c7b3f97452 Test only the main file (containing the suites) 2021-03-08 12:45:01 +01:00
MillenniumEarl 940554560e Update scripts 2021-03-08 12:40:01 +01:00
MillenniumEarl a3f5c70d52 Update JSDOC 2021-03-08 12:38:06 +01:00
MillenniumEarl a3114e1a5d Remove overloads 2021-03-08 12:37:01 +01:00
MillenniumEarl a05ef64b3c Add parameter type 2021-03-08 12:36:53 +01:00
MillenniumEarl bc3ed3c11c Merge scripts 2021-03-08 12:36:45 +01:00
MillenniumEarl d16ee36fc1 Wrong parameter type in overload 2021-03-08 12:32:42 +01:00
MillenniumEarl 40f65d9fbb Remove ".js" from module imports 2021-03-08 12:23:31 +01:00
MillenniumEarl 8a65cf67ff Remove script for declaration build 2021-03-08 12:21:09 +01:00
MillenniumEarl 1eb3bdbd96 Change import for @luxon 2021-03-08 12:20:38 +01:00
MillenniumEarl 2fa1e8cf17 Change imports for @class-validator 2021-03-08 12:19:27 +01:00
MillenniumEarl a4be89c5fc Fix --no-prototype-builtins 2021-03-08 12:18:52 +01:00
MillenniumEarl f40354e79a Change @luxon imports 2021-03-08 12:18:06 +01:00
MillenniumEarl 4ee0754410 Fix @ts-ignore 2021-03-08 12:16:57 +01:00