Commit Graph

231 Commits

Author SHA1 Message Date
Michael Peters
72c34f7e63 unverify both on disconnect, neither on connect. 2022-10-25 23:22:34 -07:00
Michael Peters
6e95ec4cec add name debug info to fetchable-pair-verifier 2022-10-25 22:53:02 -07:00
Michael Peters
366022cebb fix double-requests by removing verify on connect 2022-10-25 22:37:40 -07:00
Michael Peters
aa90edb142 fix overlays 2022-10-24 21:11:51 -07:00
Michael Peters
140a640865 remove unneeded logs 2022-10-23 14:38:29 -07:00
Michael Peters
85547116f9 linting fixes 2022-10-23 14:18:36 -07:00
Michael Peters
5591b0e683 bump recoil to latest, initializeState worked! 2022-10-23 14:13:46 -07:00
Michael Peters
c0d535f1b0 trying out initializeState 2022-10-23 14:11:26 -07:00
Michael Peters
6e4a87b528 react 18 createRoot 2022-10-22 16:59:33 -07:00
Michael Peters
9bb13b70c2 remove extra spacing in index.html 2022-10-22 16:57:01 -07:00
Michael Peters
8a5990a69a recoil debugging logs 2022-10-22 11:35:32 -07:00
Michael Peters
d74423b02f move react types to dev deps 2022-10-22 10:43:58 -07:00
Michael Peters
5f3276e23e bump react to latest version 2022-10-22 10:34:11 -07:00
Michael Peters
4b15aad6cd bumped back react version, got rid of ensureVerified, it runs again! 2022-10-22 10:33:11 -07:00
Michael Peters
a6a512617c prettier/eslint auto-verifier.test.ts 2022-10-19 23:52:21 -07:00
Michael Peters
0af021bd32 better Util.sleep signature 2022-10-19 22:44:26 -07:00
Michael Peters
cb899d92a0 fix up comments in autoverifier test 2022-10-19 22:34:37 -07:00
Michael Peters
d688508e5d verifyFunc rejection tests 2022-10-19 22:32:10 -07:00
Michael Peters
46e0d4c1a7 verifyFunc false tests 2022-10-19 22:13:25 -07:00
Michael Peters
5df8948886 add assertion on trustedPromise !== null 2022-10-19 22:02:17 -07:00
Michael Peters
cdc3307cb2 unverify during verify with dedup 2022-10-19 21:49:00 -07:00
Michael Peters
596b1565b4 primary use case 2022-10-19 21:25:13 -07:00
Michael Peters
eaf24a574f ab primary null/dedup, trusted rejects 2022-10-13 22:46:05 -07:00
Michael Peters
1d53aa46fa trusted resolve and unverify, second try resolve 2022-10-13 22:02:48 -07:00
Michael Peters
5e4db47520 console warn details 2022-10-13 21:51:13 -07:00
Michael Peters
3c22db0a2c common deduped request rejection test 2022-10-13 21:11:13 -07:00
Michael Peters
0df23134a1 add test for unverify during verify 2022-10-11 06:51:39 -07:00
Michael Peters
bae579da86 cache miss, unverify during fetch, return from server 2022-10-11 06:35:23 -07:00
Michael Peters
877e7de745 another autoverifier test (these are getting specific) 2022-10-06 23:25:12 -07:00
Michael Peters
cc8b528bb4 retab auto-verifier.ts 2022-10-06 23:00:36 -07:00
Michael Peters
5f1e9fddc0 retab again (need to figure out a way to make this auto) 2022-10-06 23:00:15 -07:00
Michael Peters
5326f067be remove ensureTrustedFuncReady, add ab primay null/dedup, trusted value/dedup 2022-10-06 22:59:09 -07:00
Michael Peters
54195fdf14 multi-request dedups with value 2022-10-06 21:23:58 -07:00
Michael Peters
1278ccd343 archive server-test 2022-10-05 23:13:27 -07:00
Michael Peters
24d796ba5c primary with value, trusted rejects test 2022-10-05 22:44:50 -07:00
Michael Peters
61f57875f9 primary with null, trusted rejects test 2022-10-05 22:33:27 -07:00
Michael Peters
39042c5e47 spy on console warn rather than global disable 2022-10-05 22:07:25 -07:00
Michael Peters
0df3f89ea6 primary rejects test 2022-10-05 22:03:48 -07:00
Michael Peters
1e764419fb retab auto-verifier.ts and auto-verifier.test.ts 2022-10-05 21:40:02 -07:00
Michael Peters
4d41dd0087 lazy cache hit/miss tests 2022-10-05 21:38:51 -07:00
Michael Peters
f2ec9cfd14 primary with value, trusted with null 2022-10-05 20:57:45 -07:00
Michael Peters
90ab1a0c6e remove .vscode, todo.txt 2022-10-04 21:04:19 -07:00
Michael Peters
aec8184964 cache miss, server confirms miss test 2022-10-04 20:56:35 -07:00
Michael Peters
9ff09dc8cb dark theme tests, add cache miss, return from server 2022-10-04 20:43:28 -07:00
Michael Peters
0d5716ccc9 specific function timing tests, jest coverage ignores 2022-10-03 23:58:12 -07:00
Michael Peters
e1364b49e8 check when functions are called 2022-10-03 23:38:51 -07:00
Michael Peters
31c0cd6662 start testing auto verifier with jest 2022-10-03 23:08:40 -07:00
Michael Peters
b49dfe3187 archive old auto-verifier tests 2022-10-03 20:56:36 -07:00
Michael Peters
f3067fa9f1 another fix of the logger check 2022-10-02 23:49:51 -07:00
Michael Peters
487b32137e disable sandbox 2022-10-02 23:47:01 -07:00