Commit Graph

174 Commits

Author SHA1 Message Date
Fabio Berger
02d7f808ab Merge branch 'master' into tokenRegistry
# Conflicts:
#	src/0x.js.ts
2017-05-30 12:36:28 +02:00
Fabio Berger
73ae3df172 Merge pull request #22 from 0xProject/regex-fix
Fix the empty code regex
2017-05-30 12:32:13 +02:00
Fabio Berger
c536114b16 make web3Wrapper a private instance variable 2017-05-30 12:25:17 +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
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
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: 7e96b45ea0 which broke this regex for the 0x0 edge-case 2017-05-30 09:53:55 +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
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
Leonid Logvinov
055763cd37 Add umd test command and separate public and private npm scripts 2017-05-29 12:44:22 +02:00
Leonid Logvinov
144456503c Make eventually a PromisedAssertion 2017-05-29 12:19:50 +02:00
Leonid Logvinov
b088559850 Rename build:bundle to build:umd 2017-05-29 12:01:18 +02:00
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
3819030a40 Merge pull request #15 from 0xProject/rm-ts
Remove typescript folder
2017-05-29 11:42:44 +02:00
Leonid Logvinov
209d8483cf Fix linter command 2017-05-29 11:42:17 +02:00
Leonid Logvinov
ff5db0d1cb Fix lint command 2017-05-29 11:41:09 +02:00
Leonid Logvinov
021391744f Fix imports 2017-05-29 11:39:20 +02:00
Leonid Logvinov
0848fe96cf Move files up and remove ts folder 2017-05-29 11:39:12 +02:00