Open mariolo1985 opened 5 years ago
hey @mariolo1985
I am working on fixing the last error in
src/tests/Message.test.ts
I have worked on the Kafka and Contract test errors.
Expected value to be: "selfId" Received: [["peerId", {"_messageType": "message", "_protocol": "drone_charging", "senderId": "selfId", "ttl": undefined}, {"apiSeedUrls": [""], "blockchainType": "ropsten", "ethNodeUrl": "https://ropsten.infura.io/wUiZtmeZ1KwjFrcC8zRO", "identityTtl": 10000, "kafkaBrowserPollingInterval": 1000, "kafkaBrowserRequestTimeout": 500, "kafkaSeedUrls": [""], "missionConsumerTtl": 10000, "missionProviderTtl": 10000, "needTtl": 10000, "needTypeTtl": 10000}]] Difference: Comparing two different types of values. Expected string but received array. 68 | const messageParams = new MessageParams({}); 69 | await message.respond(messageParams); > 70 | expect(kafkaMock.sendParams.mock.calls).toBe(selfId); 71 | }); 72 | }); 73 | });
I tried to follow the code as much, but my head is over the place now =D
https://travis-ci.org/abdchehadeh/dav-js/jobs/519704571 I was able to create a dist locally, and all the scripts ran successfully except the spellcheck I wont create a PR, but check what I did.
Expected Behavior
Travis CI should complete the config scripts successfully
Current Behavior
Failing on multiple steps
Possible Solution
Steps to Reproduce (for bugs)
npm install
Context
Your Environment