12984 Commits

Author SHA1 Message Date
Leonid Logvinov
699e588d1f
Add signedOrderSchema and all subschemas 2017-05-30 12:00:23 +02:00
Leonid Logvinov
603a88872d
Add Order and SignedOrder types 2017-05-30 11:56:23 +02:00
Fabio Berger
4d63a4d02a use to.have.lengthOf 2017-05-30 10:49:34 +02:00
Fabio Berger
1e69d2d1e1 Improve type definitions 2017-05-30 10:48:34 +02:00
Fabio Berger
f2cd368a49 Add TokenMetadata type 2017-05-30 10:42:39 +02:00
Leonid Logvinov
cda040ef99
Merge branch 'master' into fillOrderAsync 2017-05-30 10:24:45 +02:00
Leonid Logvinov
220f925415
Fix the empty code regex 2017-05-30 10:21:48 +02:00
Fabio Berger
5bfc3f8976 remove unused import 2017-05-30 10:19:29 +02:00
Leonid
1f6ed77f47 Merge pull request #20 from 0xProject/removeSrcFilesNotUsedByTests
Allow tests to access schemas, utils and types
2017-05-30 10:12:54 +02:00
Fabio Berger
f4bc7ecf5f Merge branch 'tokenRegistry' into erc20Wrapper 2017-05-30 09:55:52 +02:00
Fabio Berger
b21779999f Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistry 2017-05-30 09:55:15 +02:00
Fabio Berger
ec379cc350 Merge branch 'master' into removeSrcFilesNotUsedByTests 2017-05-30 09:54:52 +02:00
Fabio Berger
c9111aea38 name exchangeWrapper test file properly 2017-05-30 09:54:11 +02:00
Fabio Berger
000e364406 Reverts: 7e96b45ea0c51ca5589640018172a91a35596148 which broke this regex for the 0x0 edge-case 2017-05-30 09:53:55 +02:00
Fabio Berger
132b5d4f9b Add tests for getBalanceAsync 2017-05-30 09:52:47 +02:00
Fabio Berger
6686443317 Implement ERC20Wrapper and it's first method getBalanceAsync 2017-05-30 09:52:31 +02:00
Fabio Berger
f3d5690d56 Add tests for getTokensAsync including schema validation 2017-05-29 23:52:10 +02:00
Fabio Berger
919585cd79 Add TokenRegistryWrapper and getTokensAsync method 2017-05-29 23:51:27 +02:00
Fabio Berger
6cb9bd4426 Instead of removing all files from ./lib/src for the UMD test, we leave the utils and schema folders as well as the types file since they are used by the test files 2017-05-29 23:21:38 +02:00
Leonid Logvinov
9bb738bb2f
Finish ecSignature renaming 2017-05-29 22:45:05 +02:00
Leonid Logvinov
7fea711927
Add assertions for parameters 2017-05-29 22:42:32 +02:00
Leonid Logvinov
b46ad44856
Move field declaration to the begining of the class 2017-05-29 22:35:17 +02:00
Leonid Logvinov
96092de5cb
Add initial implementation of fillOrderAsync 2017-05-29 22:30:18 +02:00
Leonid Logvinov
7dddf2010e
Add getExchangeInstanceOrThrowAsync && getSenderAddressOrThrowAsync 2017-05-29 22:14:18 +02:00
Leonid Logvinov
34de598642
Add tests to linter targets 2017-05-29 22:09:43 +02:00
Leonid Logvinov
45c12216aa
Use npm run testrpc on circlecCI 2017-05-29 22:09:20 +02:00
Fabio Berger
7b9e8777f1 Merge pull request #19 from 0xProject/test-commands-refactor
Refactor test commands
2017-05-29 19:25:53 +02:00
Leonid
c820e873f1 Merge branch 'master' into test-commands-refactor 2017-05-29 19:16:49 +02:00
Leonid
f4047dbe18 Merge pull request #18 from 0xProject/fix-coverage
Run coverage only for commonjs test
2017-05-29 19:14:51 +02:00
Leonid Logvinov
66e4f5e5a4
Refactor test commands 2017-05-29 19:02:11 +02:00
Fabio Berger
46fb1914cf Lowercase schema names 2017-05-29 18:13:07 +02:00
Fabio Berger
43082b576c Fix typos 2017-05-29 16:53:07 +02:00
Fabio Berger
041394e652 Merge pull request #17 from 0xProject/addSignOrderHashAndTests
Add signOrderHashAsync and tests
2017-05-29 16:32:32 +02:00
Fabio Berger
1958142936 empty stubs array before next test runs 2017-05-29 16:10:34 +02:00
Fabio Berger
9008dfdcb1 improve comment 2017-05-29 16:10:20 +02:00
Fabio Berger
c513a5a5bd Merge branch 'master' into addSignOrderHashAndTests
# Conflicts:
#	package.json
#	src/globals.d.ts
#	test/0x.js_test.ts
2017-05-29 16:06:04 +02:00
Leonid Logvinov
4721e2c28a
Run cverage only for commonjs test 2017-05-29 16:05:33 +02:00
Fabio Berger
abd0228ba8 Merge pull request #16 from 0xProject/umd-tests
Umd tests
2017-05-29 16:04:13 +02:00
Fabio Berger
61c8372ae0 fix declaration 2017-05-29 16:02:52 +02:00
Fabio Berger
f498134c54 Add mnemonic to nom testrpc command 2017-05-29 16:02:45 +02:00
Fabio Berger
a331943c11 Use disable-next-line instead of disable and always put rule that is being disabled 2017-05-29 15:59:42 +02:00
Fabio Berger
80ce567834 Add declarations for find-versions and compare-versions 2017-05-29 15:59:15 +02:00
Leonid Logvinov
7bd3d87f7a
Address feedback 2017-05-29 15:54:52 +02:00
Fabio Berger
8d5d330ced Add static mnemonic when starting testrpc on circleCI 2017-05-29 15:42:20 +02:00
Fabio Berger
8c877bb18a Implement tests for signOrderHashAsync that test the logic for Parity < v1.6.6, >1.6.6 and other nodes 2017-05-29 13:39:32 +02:00
Fabio Berger
eb90367fc4 Port over signOrderHashAsync 2017-05-29 13:37:08 +02:00
Leonid Logvinov
fa156531bf
Don't build before test 2017-05-29 13:36:48 +02:00
Fabio Berger
232e031959 don't use uppercase for constant variable unless it's global to the entire file 2017-05-29 13:34:49 +02:00
Fabio Berger
4a3a20ef43 Standardize all comments 2017-05-29 13:30:13 +02:00
Leonid Logvinov
6213407f54
Refactor test commands 2017-05-29 13:27:26 +02:00