17:27:45-makoto~/work/melonproject/protocol (fix_failing_specs)$ ./node_modules/.bin/truffle test
Using network 'development'.
Contract: Exchange
0x71f9cd6ad66d319a94ffd5b538fd4c8aafe6fa6f
0
{ [String: '0'] s: 1, e: 0, c: [ 0 ] }
0
{ [String: '0'] s: 1, e: 0, c: [ 0 ] }
✓ Create one side of the orderbook (144ms)
1) Check if orders created
> No events were emitted
Contract: PriceFeed
✓ Deploy smart contract (90ms)
✓ Get not existent price
✓ Set multiple price (91ms)
✓ Get multiple existent prices relative to Ether (203ms)
Contract: Net Asset Value
2) "before all" hook: Check accounts, deploy modules, set testcase
Contract: Version
3) "before all" hook: Check accounts, deploy modules, set testcase
5 passing (766ms)
3 failing
1) Contract: Exchange Check if orders created:
Uncaught AssertionError: 0 == 2
+ expected - actual
-0
+2
at Exchange.at.getLastOfferId.then (test/exchange.js:70:14)
at process._tickCallback (internal/process/next_tick.js:109:7)
2) Contract: Net Asset Value "before all" hook: Check accounts, deploy modules, set testcase:
ReferenceError: EtherToken is not defined
at Context.before (test/nav.js:71:5)
at afterStateReset (node_modules/truffle/lib/testing/testrunner.js:45:5)
at node_modules/truffle/lib/testing/testrunner.js:107:9
at node_modules/truffle/lib/testing/testrunner.js:193:5
3) Contract: Version "before all" hook: Check accounts, deploy modules, set testcase:
ReferenceError: EtherToken is not defined
at Context.before (test/version.js:22:5)
at afterStateReset (node_modules/truffle/lib/testing/testrunner.js:45:5)
at node_modules/truffle/lib/testing/testrunner.js:107:9
at node_modules/truffle/lib/testing/testrunner.js:193:5
-
-
Save makoto/8c117d741d9960a7116dcd2e4513f626 to your computer and use it in GitHub Desktop.
Test Erros
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment