1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-12-01 13:47:09 +01:00
Commit Graph

77 Commits

Author SHA1 Message Date
Manolo
355dd62a60
Merge branch 'master' into remove-votes-api 2018-08-31 14:56:14 +02:00
manolodewiner
f5debab03a small refactor and add tests 2018-08-30 12:26:14 +02:00
manolodewiner
11892a1f6b handle timeout for each request 2018-08-29 16:39:15 +02:00
Jernej Pregelj
2afbd3b398 remove votes endpoint 2018-08-28 15:38:36 +02:00
manolodewiner
bd8db702c4 cap backoff time 2018-08-28 14:09:26 +02:00
manolodewiner
e0cde66749 merge 2018-08-23 17:16:16 +02:00
manolodewiner
ad8a889ecc add and fix tests 2018-08-23 17:14:59 +02:00
Manolo
f4d1f93a5b
Merge branch 'master' into bep-14_roundrobin 2018-08-23 09:43:19 +02:00
manolodewiner
7d978286f5 created model for new connections 2018-08-22 10:10:09 +02:00
Troy McConaghy
54dfcf637f Add SPDX license info strings to all source files 2018-08-10 12:49:26 +02:00
Arjun Nemani
5a9f3905c7 Add tests for sanitize.js
Installs rewire from npm and use it to test functions
in sanitize.js

Part of https://github.com/bigchaindb/js-bigchaindb-driver/issues/220
2018-07-19 21:24:12 +05:30
Arjun Nemani
074b4f0871 Add test for baseRequest.js
This commit adds tests for baseRequest,
with the aim to improve the code coverage of the
whole repo.

Part of https://github.com/bigchaindb/js-bigchaindb-driver/issues/220
2018-07-19 21:20:08 +05:30
Arjun Nemani
48f7584374 Fix connection test
This commit fixes the "Payload thrown at incorrect API_PATH"
test, it uses the proper way to check async error throws,
taken from ava.js docs. Done with the aim to increase the
coverage and to ensure working tests. Added "transform-runtime"
to .babelrc to enable "await/async" syntax".

Part of https://github.com/bigchaindb/js-bigchaindb-driver/issues/220
2018-07-19 20:23:12 +05:30
Arjun Nemani
64713d3742 Add tests for format_text.js
This commit adds tests for format_text,
with the aim to improve the code coverage of the
whole repo.

Part of https://github.com/bigchaindb/js-bigchaindb-driver/issues/220
2018-07-19 20:23:12 +05:30
manolodewiner
34c82a1ae8 refactor code & add test 2018-06-19 16:52:23 +02:00
manolodewiner
4639acbd34 resolve promise to avoid invalid input 2018-05-23 14:33:45 +02:00
manolodewiner
22e0a59dcd test Sha256Condition 2018-04-04 10:16:39 +02:00
manolodewiner
99a049056b fix tests 2018-03-27 16:44:59 +02:00
manolodewiner
abe1c89025 test integration failing 2018-03-26 12:15:36 +02:00
manolodewiner
2451ed2ae6 update endpoints 2018-03-21 11:30:54 +01:00
manolodewiner
c3e1244e52 unique-fulfillment and hash&sign 2018-03-01 12:22:36 +01:00
manolodewiner
072edb054c fix test 2018-01-17 09:20:04 +01:00
manolodewiner
843d85bc03 test failing 2018-01-15 18:11:16 +01:00
manolodewiner
3725afa4a0 static methods 2018-01-15 15:42:34 +01:00
manolodewiner
4dd006b8cb fix issues 2018-01-04 10:15:45 +01:00
Manolo
879ae68d0c
Merge pull request #125 from bigchaindb/transfer-multiple-inputs-rebase
Transfer multiple inputs rebase
2017-12-20 12:53:04 +01:00
manolodewiner
1076d2d2ab merge master 2017-11-27 15:36:34 +01:00
Manolo
1044a01fb4
Merge pull request #126 from bigchaindb/js-crypto-conditions
five-bells-conditions -> js-crypto-conditions
2017-11-27 15:12:33 +01:00
Jernej Pregelj
da4c4a942b js-crypto-conditions -> crypto-conditions 2017-11-27 14:56:11 +01:00
Jernej Pregelj
7fbac23dc2 five-bells-conditions -> js-crypto-conditions 2017-11-23 16:39:13 +01:00
manolodewiner
9f385c440d Add test of transaction with multiple inputs 2017-11-23 10:03:23 +01:00
Rashad Ibrahimov
e0f11ec415 Issue #44 Multiple inputs for transfer transaction 2017-11-23 10:03:23 +01:00
Scott Sadler
4f48f1768e add has subcondition to ccJsonLoad test 2017-11-23 09:54:51 +01:00
Scott Sadler
4a349013b2 add additional test for ccJsonLoad 2017-11-23 09:54:51 +01:00
manolodewiner
dd2a52bf1f search metadata field 2017-11-21 16:51:31 +01:00
michielmulders
d7c3276e12 Updated test/transaction/test_transaction.js 2017-11-02 21:19:19 +01:00
michielmulders
f4333a92c1 Test added for testing payload thrown at incorrect API_PATH 2017-09-30 19:18:50 +02:00
michielmulders
b77d296069 Writing test for baserequest 2017-09-27 15:38:52 +02:00
michielmulders
f82cbd6526 Writing test for baserequest 2017-09-27 15:37:49 +02:00
michielmulders
d284ced256 Tried to change permissions of all files to 664 2017-09-22 10:15:02 +02:00
michielmulders
dfaf97e5ce Basic usage examples added, not completed 2017-09-22 10:14:24 +02:00
vrde
2fd3fcf8ce Fix eslint errors 2017-09-22 10:14:22 +02:00
Scott Sadler
d6e33b807a add has subcondition to ccJsonLoad test 2017-09-22 10:14:22 +02:00
Scott Sadler
51585b1b05 add additional test for ccJsonLoad 2017-09-22 10:14:22 +02:00
Scott Sadler
b665752c8c fulfills.output -> fulfills.output_index 2017-09-22 10:14:22 +02:00
Scott Sadler
529c18a753 remove signature in details and rename subfulfillments to subconditions 2017-09-22 10:14:22 +02:00
vrde
3d83083ee8
Fix Content-Type issue 2017-06-23 14:31:30 +02:00
Scott Sadler
96ce4f3941 fix transaction tests 2017-06-23 10:44:55 +02:00
Scott Sadler
b22cf39aa2 public_keys array is a set 2017-06-23 10:30:08 +02:00
Scott Sadler
6fa2b2e7e5 encode public_keys array for threshold conditions 2017-06-23 10:24:23 +02:00