1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-06-28 00:27:44 +02:00
Commit Graph

66 Commits

Author SHA1 Message Date
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
Scott Sadler
70681a3085 tests for cryptoconditions 2017-06-22 16:13:59 +02:00
Scott Sadler
e19a37fb78 Merge remote-tracking branch 'origin/master' into cc2 2017-06-22 15:09:42 +02:00
Scott Sadler
9e423dd259 work in progress 2017-06-22 15:09:36 +02:00
tim
1aa430a15c Adjust float interpretation comment 2017-06-21 16:23:53 +02:00
tim
0da90e825f rm () 2017-06-21 16:04:35 +02:00
tim
c17d614ab6 Dynamically generated keys for /outputs tests + bool fix 2017-06-21 15:59:28 +02:00
tim
1696f7c1ac Test list transaction for an asset id 2017-06-21 13:27:54 +02:00
tim
3671c5758c Test list blocks for a transaction id 2017-06-21 13:27:54 +02:00
tim
8bd602f446 Fix and test outputs endpoint 2017-06-21 13:27:54 +02:00
tim
db10937f9e Add integration test for asset endpoint :diamond: 2017-06-21 13:27:54 +02:00
tim
3fdaf40602 Comply to eslint 🔫 2017-06-21 13:27:54 +02:00