Commit Graph

233 Commits

Author SHA1 Message Date
Leonid Logvinov
bb3e7a2b7d Use only 0x public interface in contract wrapper tests 2017-05-29 11:55:43 +02:00
Leonid Logvinov
405857fa81 Use constants from test utils 2017-05-29 11:50:03 +02:00
Leonid Logvinov
021391744f Fix imports 2017-05-29 11:39:20 +02:00
Fabio Berger
62cc3b919c Merge branch 'master' of github.com:0xProject/0x.js
# Conflicts:
#	src/ts/0x.js.ts
#	src/ts/utils/utils.ts
2017-05-29 09:09:54 +02:00
Fabio Berger
4c3c1d049b improve comment 2017-05-26 18:08:50 +02:00
Fabio Berger
d5feb5fc79 rename BlockClean to BlockchainLifecycle and setupAsync to startAsync, restoreAsync to revertAsync 2017-05-26 18:01:54 +02:00
Fabio Berger
badd4a98e9 import reorder 2017-05-26 17:51:47 +02:00
Fabio Berger
aa3ae700b0 remove stray console log 2017-05-26 17:49:26 +02:00
Fabio Berger
a6da9cd073 Add missing return types 2017-05-26 17:47:00 +02:00
Fabio Berger
555bac19cb Setup blockchain snapshotting before/after every test, implemented unit tests for exchangeWrapper.isValidSignature 2017-05-26 17:12:22 +02:00
Fabio Berger
3cf25d0787 Postfix test files with _test 2017-05-26 17:08:45 +02:00
Leonid Logvinov
183e8a7138 Address feedback 2017-05-25 20:29:33 +02:00
Leonid Logvinov
f2f39d9eb2 Port getOrderHash 2017-05-25 17:24:29 +02:00
Leonid Logvinov
00b6401452 Fix braces 2017-05-25 13:47:04 +02:00
Leonid
b43cc8f52c Merge branch 'master' into isValidOrderHash 2017-05-25 13:44:19 +02:00
Leonid Logvinov
eee06e0cc9 Address feedback 2017-05-25 13:42:53 +02:00
Fabio Berger
12aa9a29e4 Add toUnitAmount and toBaseUnitAmount static helpers and tests 2017-05-25 13:19:46 +02:00
Leonid
dc1ca23e30 Merge branch 'master' into isValidOrderHash 2017-05-25 12:53:37 +02:00
Leonid Logvinov
5d64b562c6 Fix tests 2017-05-25 12:52:31 +02:00
Fabio Berger
2117b4e0c8 Use expect.to.throw 2017-05-25 12:23:13 +02:00
Fabio Berger
ec2d3cc599 Merge branch 'master' into addSchemas
# Conflicts:
#	package.json
2017-05-25 12:11:12 +02:00
Fabio Berger
56dfe6b2ff remove stray console log 2017-05-25 12:10:08 +02:00
Leonid Logvinov
5be5debdf1 Port isValidOrderHash and tests 2017-05-25 12:08:54 +02:00
Fabio Berger
bcfb1a699a Fix malformed tests to check for thrown assertion 2017-05-25 12:08:49 +02:00
Leonid Logvinov
55c491f8ea Add generateSalt and tests for it 2017-05-25 11:19:14 +02:00
Fabio Berger
d23dbf53fd Fix test that was passing an invalid address (now caught by our assertions), to instead pass a valid but unrelated address as the test name suggests 2017-05-25 11:00:20 +02:00
Leonid Logvinov
945a583e89 Address feedback 2017-05-24 19:23:35 +02:00
Leonid Logvinov
762db7961e Add test for malformed s 2017-05-24 19:01:19 +02:00
Leonid Logvinov
522300c0ab change tests descriptions 2017-05-24 18:58:31 +02:00
Leonid Logvinov
7a566c6988 Add test vector source 2017-05-24 18:50:14 +02:00
Leonid Logvinov
af3cb84ff9 Add isSignatureValid method and tests for it 2017-05-24 18:06:58 +02:00
Leonid Logvinov
8360565431 Remove spaces 2017-05-24 13:48:13 +02:00
Leonid Logvinov
c50b32ee3f Add initial testing config and a dummy test 2017-05-24 13:37:54 +02:00