shamb0t
e636629cf9
add multiple tabs in browser test
...
call tests in ci yml
2019-07-22 15:27:22 +01:00
shamb0t
b3977e187a
support ipfs@0.36.x
2019-06-07 15:00:15 +01:00
shamb0t
1a6bbf329b
set skipManifest in test
2019-05-20 15:08:21 +01:00
shamb0t
8c694f5170
pass format in dbManifest creation
...
use identity.id as default ac check
2019-05-15 11:31:25 +01:00
shamb0t
07984f7637
remove cid prop
...
update browser dist
increment version
2019-05-01 16:32:48 +01:00
Mark Robert Henderson
40fa3cba76
Revert "Cid to hash"
2019-05-01 11:07:39 -04:00
shamb0t
85e6d8d36e
remove cid prop
2019-04-30 15:01:33 +01:00
shamb0t
cddd82c786
use config.timeout in replicate test
2019-04-23 17:35:14 +01:00
Joel Torstensson
ed1a6bf1a4
feat: Accept identity as an option when opening a DB
2019-04-23 17:46:14 +02:00
shamb0t
6dd94e0580
use decompressed key
2019-04-04 12:53:28 +01:00
shamb0t
f481ecfdd7
Update key migrate test
...
remove await
Package-lock
2019-03-28 17:38:58 +00:00
shamb0t
b2d2e3f9f4
Fix multiple-databases test
2019-03-26 10:16:09 +00:00
shamb0t
aa9e7edd63
Add test writing to v0 with new identity
2019-03-25 13:35:33 +00:00
shamb0t
4c2c745c96
Keystore#verifiers
...
tests: add v0 address test
tests: remove unused config options
2019-03-11 15:38:40 +04:00
haad
534b9bd173
Remove wrong assertions in replication progress check
2019-02-27 10:56:05 +02:00
shamb0t
ae144b219f
Use libp2p-secp256k1
2019-02-22 14:06:05 +00:00
shamb0t
6add4ce2b9
Update tests
2019-02-20 13:18:03 +00:00
Tyler Yasaka
15aae2959b
Merge branch 'master' into determine-address
2018-12-06 11:20:46 -08:00
Zach Ferland
708860798c
test: move redundant config to shared test utils
2018-11-30 16:48:47 -05:00
Zach Ferland
5797641fba
test: add custom test cache, add persistence test against custom cache, add store tests against cache
2018-11-30 16:40:19 -05:00
Tyler Yasaka
2378b654a5
Add a couple tests for determineAddress
2018-11-13 09:52:24 -08:00
Richard Littauer
e191d27832
fix: Spelling errors
...
Generated by https://github.com/codespell-project/codespell .
2018-09-20 15:30:44 -04:00
thiagodelgado111
8c4befbae1
Fix counterdb test
2018-07-21 00:11:10 -03:00
haad
88581adf1a
Use latest orbit-db-cache and leveldb modules
2018-07-18 16:30:20 +03:00
haad
60575efc66
Use latest orbit-db-store
...
Also add try/catch to catch assertion errors in replication tests that weren't caught before.
2018-07-18 13:57:21 +03:00
kia
1b54f4daa8
feat: expose OrbitDBAddress isValid & parse
2018-06-25 21:09:49 -04:00
haad
d78ee9042f
Test that document store can return the full op data
2018-06-03 08:00:53 +02:00
Gergely Imreh
f6688ffe8d
Clarify eventlog and feed iterator options, and usage in tests
...
The `gt`/`gte`/`lt`/`lte` options for enventlog and feed iterators
take the hash of an item, and that wasn't clear from the API docs.
Also added more info to the `limit` option.
To see usage examples, many people are likely to turn to test suite.
In the tests for eventlog and feed, the `items` variable first
referred to an iterator with the actual items, and then later in
the tests `items` was an array of the item hashes. This switch of
types can be pretty confusing, thus the variable names were disambiguated.
2018-04-14 11:16:02 +01:00
Gergely Imreh
9be39b3dd4
Fix: tests weren't actually testing limit 0 cases
2018-04-13 23:50:53 +01:00
haad
96736809ec
Speed up tests
2018-03-31 13:21:03 +02:00
haad
65ca10f79d
Decrease test timeout
2018-03-31 12:36:22 +02:00
haad
9504b18a0b
Fix replication status test name
2018-03-31 12:35:29 +02:00
haad
0558c32343
Move exchanging heads logic to its own function
...
Use latest store modules
Add a set of tests for checking database replication status
Fix tests as per new replication status api
Speed up and improve tests
2018-03-31 12:25:53 +02:00
haad
d0af9a45bd
Add tests for replication status information
...
Use latest store modules
Add a set of tests for checking database replication status
Fix tests as per new replication status api
2018-03-30 12:46:53 +02:00
haad
a2524688d2
Run tests with go-ipfs and js-ipfs-api again
...
Use go-ipfs 0.4.13 to run tests
Add write benchmark for go-ipfs
Clean up benchmarks
Fix a test not catching errors
2018-03-27 16:08:43 +02:00
haad
3318b6a6d9
Use ipfsd-ctl to create test IPFS instances
...
Fix default database creation tests
Add more test utils
Remove obsolete public methods from OrbitDB
Workaround for "underlying socket has been closed" error in replication test
Update package-lock
2018-03-27 14:30:45 +02:00
haad
d191876ea9
Use ipfs-pubsub-1on1 to exchange heads between connected peers
2018-03-24 15:56:02 +01:00
haad
40dc6e4340
Wait for database to close in tests
2018-03-17 09:52:16 +02:00
thiagodelgado111
8abd37aecd
Add tests for custom keystores
2018-02-08 16:39:16 -02:00
Diana Thayer
b0d755f9bf
feat(core): add 'addDatabaseType' method for adding custom types
2018-01-16 08:04:12 -08:00
haad
1b5d6db239
Create a mapping for database types
2018-01-07 09:17:40 +01:00
haad
e0bff3dcce
Fix segmentation fault
...
Add a test for closing the db while loading
Catch replication test asserts properly
Use latest orbit-db-cache containing the fix for segmentation fault
2018-01-07 08:54:11 +01:00
haad
7818b5ca79
Add a test for dropping a database
2017-12-31 17:11:04 +02:00
haad
81284c1b16
Fix browser compatibility
2017-12-31 13:46:25 +02:00
haad
6061b8cb53
Fix replication
...
Add tests to make sure a database can be saved and loaded multiple times in a row
Add a test to make sure the correct replication progress is emitted
Add mem-store for faster development testing
Improve tests
Improve logging
Fix replication benchmark
Update packages and build
2017-12-19 15:52:50 +01:00
haad
d6cb5c0c0a
Improve write-permissioned db sync test
2017-12-13 15:15:20 +01:00
haad
9b1f704abe
Fix a bug where creator of the database was not added to the list of writers
2017-12-10 13:30:39 +01:00
haad
6df41f4fad
Use LevelDB as the local persistence cache
2017-12-09 17:42:06 +01:00
haad
ff8b5a425a
Remove obsolete test-utils
2017-12-06 08:30:44 +01:00
haad
157f1c6d15
Remove stopIpfs() function and use ipfs.stop()
2017-12-06 08:23:18 +01:00