455 Commits

Author SHA1 Message Date
haad
b946741c5c Get the first tests running 2023-02-16 11:07:13 +02:00
haad
f6f14511c1 Add fixtures from ipfs-log 2023-02-16 11:06:47 +02:00
Hayden Young
16c6a3c397 refactor: subpath structuring for simplified imports. 2023-02-16 10:33:30 +02:00
haad
96f5df18d1 Rework identity storage and usage of identity hash 2023-02-16 10:20:08 +02:00
haad
de8294b2bb WIP 4 2023-02-16 10:19:44 +02:00
Hayden Young
5d7c4e407f feat: Identity storage. 2023-02-16 10:19:30 +02:00
Hayden Young
4f0c3e2b36 refactor: Create identity store outside of createIdentity (I.e. is configurable). 2023-02-16 10:19:30 +02:00
Hayden Young
d5235ef23d refactor: Store identity hash against each entry. 2023-02-16 10:19:28 +02:00
Hayden Young
2d425f7323 test: For a non-existent document. 2023-02-16 10:19:01 +02:00
Hayden Young
2af2f7d8fb refactor: Use doc directly. Var renaming. 2023-02-16 10:19:01 +02:00
haad
ef60cb252c Add heads and entry index, use LevelStorage, clean up naming 2023-02-16 10:19:01 +02:00
Hayden Young
c89994d820 test: Test for null after delete. 2023-02-16 10:19:01 +02:00
Hayden Young
2ae11ca3e4 feat: A basic document store. 2023-02-16 10:18:41 +02:00
haad
c5bfcb8bd9 WIP 3 2023-02-16 10:18:39 +02:00
haad
f576795c3e WIP 2 2023-02-16 10:17:37 +02:00
haad
40494246e1 WIP 2 2023-02-16 10:17:23 +02:00
haad
42a5c2d723 WIP 2023-02-16 10:16:15 +02:00
haad
d840a46b94 Remove mem-store utils as obsolete 2023-01-16 15:12:59 +02:00
haad
f2eef58cb1 Remove old ipfs version patches 2023-01-16 12:51:44 +02:00
haad
97f6c81728 Stringify PeerIDs 2023-01-16 12:47:13 +02:00
haad
d9ac2feeef Use working fixtures for backwards compat. tests 2023-01-16 12:46:50 +02:00
haad
5f1af23539 Remove obsolete code, clean ups 2023-01-12 14:42:31 +02:00
haad
13f79e6a65 Fix browser tests 2023-01-12 13:20:17 +02:00
haad
7b15be54a5 Fix imports and file path 2023-01-12 10:31:50 +02:00
Hayden Young
cb21894828 fix: Check for custom-defined cache when migrating. 2023-01-05 16:59:44 +00:00
haad
e6e3bcc994 Fix replication issues 2022-12-30 14:40:37 +02:00
haad
86e8fef7fe Skip tests that are failing 2022-12-30 12:38:15 +02:00
haad
73383cbf9b Use same directory for test data as other tests 2022-12-30 12:36:52 +02:00
haad
e253fe11b6 Remove unused deps, refactor to use the new leveldb api 2022-12-30 12:36:16 +02:00
haad
548f6372be Add open() to custom keystore in tests to fulfill the interface 2022-12-30 12:35:19 +02:00
Hayden Young
51ab079153 fix: pass path to migration. 2022-12-30 03:07:01 +00:00
Hayden Young
d06d800943 refactor: Webpack imports. 2022-12-20 01:12:56 +00:00
captaincole
0e7011646d Swithing puppeteer to puppeteer core and adding chromium to dev dependencies 2022-02-23 19:19:05 -06:00
haad
08eaf84d74 Fix replication 2021-10-21 14:48:54 +03:00
tabcat
c9fcb75f9b move orbit-db-access-controller tests here 2021-09-27 15:27:49 -05:00
tabcat
a3829b6c72 remove error-prone assert from replication test 2021-09-26 17:50:34 -05:00
tabcat
6b4bd0652f remove memstore from replication test 2021-09-26 17:45:48 -05:00
Mark Henderson
a00688e941 Support js-ipfs 0.50.2 and go-ipfs 0.6.0
updating dependencies

Updating to node 12 image

updating dependencies

package-lock updates

offoading repo handling from tests

one more test fix

fixing message data handling

updating store deps
2020-09-17 21:05:59 -04:00
Joel Thorstensson
e402fdc457 Merge branch 'master' into update-peer-exchanged 2020-08-24 18:04:53 +02:00
anders
a553179fb7 remove unused util files 2020-08-24 07:16:35 -04:00
Mark Henderson
39a00060d6 parent 32cc9a9b009d0d8543f81a6bab96ad9bcccd3088
author Mark Henderson <mark@mrh.io> 1598051057 -0400
committer Mark Henderson <mark@mrh.io> 1598229380 -0400

parent 32cc9a9b009d0d8543f81a6bab96ad9bcccd3088
author Mark Henderson <mark@mrh.io> 1598051057 -0400
committer Mark Henderson <mark@mrh.io> 1598229291 -0400

package updates and ipfs repo migration

validate-maintainers and orbit-db-test-utils

moving from 3 tabs to 2

wait workaround

wait 1000

standard --fix

redoing the replication test changes for some reason

validate-maintainers and orbit-db-test-utils

moving from 3 tabs to 2

wait workaround

wait 1000

standard --fix

fix create-open tests

fixing eventlog tests

fixing feed tests

fixing kvstore tests

fixing set identity tests

skipping replication tests for now

repo path based on API variable

js-ipfs.zip

go-ipfs.zip

skipping replicate tests as well

repo path based on API variable

js-ipfs.zip

go-ipfs.zip

package-lock

finalizing rebase
2020-08-23 21:52:10 -04:00
Joel Torstensson
f876360e59 Merge branch 'master' into update-peer-exchanged 2020-06-12 17:37:21 +02:00
Mark Henderson
4d7bfa11b8 cleaning up setTimeouts 2020-05-21 11:59:08 -04:00
Mark Henderson
572029bbe7 wip: updating tests
fix browser test

package-lock updates
2020-05-21 11:59:08 -04:00
Mark Henderson
e2ad2a0b79 also exporting keystore 2020-05-15 10:28:17 -04:00
Mark Henderson
1c67c410aa feat: adding AccessControllers and Identites re-exports 2020-05-15 10:28:17 -04:00
phillmac
5f7f20e621 Fix assert.notEqual
Fixes the following errors:
```
 2) orbit-db - Create & Open (js-ipfs)
       Create
         Success
           saves database manifest file locally:
     TypeError [ERR_MISSING_ARGS]: The "actual" and "expected" arguments must be specified
      at Function.notEqual (assert.js:418:11)
      at Context.<anonymous> (test/create-open.test.js:145:18)

  3) orbit-db - Create & Open (go-ipfs)
       Create
         Success
           saves database manifest file locally:
     TypeError [ERR_MISSING_ARGS]: The "actual" and "expected" arguments must be specified
      at Function.notEqual (assert.js:418:11)
      at Context.<anonymous> (test/create-open.test.js:145:18)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
```
2020-03-22 18:06:35 -04:00
Michael Sterle-Contala
3377fc66ee
increase time in test to wait for peer.exchanged event to trigger 2020-03-11 12:19:09 +01:00
Tyler Yasaka
8d7b3ecf5d
Add tests for peer.exchanged event 2020-02-10 15:55:49 +01:00
shamb0t
fb143e6816 use ipfs@0.36.x 2019-12-05 20:24:35 +00:00