Comments (5)
Hi @vforv what's the issue about? Please describe the error in detail.
What do you expect?
What is the log?
Hemera Version,
Node Version,
Do you use transpiler?
from hemera-testsuite.
Hi @StarpTech ,
The code should run until the end but I get the timeout error. The last stubbed action never run because hash that I get from bcrypt function.
For all other details, you can find in repo:
https://github.com/vforv/hemera-error
It would also be great if I can inspect the hash variable, and do something like this in the test:
let hash = Here get hash property which is inside addRun call
expect(hash).to.be.exist();
from hemera-testsuite.
@vforv please clean up your code and reduce it to the bare of minimum. Attach always a log trace.
The last stubbed action never run because hash that I get from bcrypt function.
That makes no sense to me
from hemera-testsuite.
Please check repo again, I added test console log in README and updated code.
Just replace hash values with the same string and it will work, for action and for the stub...
from hemera-testsuite.
Look at #9
from hemera-testsuite.
Related Issues (9)
- 2.0.3 version not working for me HOT 2
- ECONNREFUSED 127.0.0.1:4222 HOT 12
- Hapi hemera testsuite Timeout error HOT 22
- Testing with real NATS Server connection HOT 1
- Fatal error after test run HOT 1
- How to mock actions inside other actions? HOT 13
- hemera test fails for async/await HOT 7
- Test timeout error HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hemera-testsuite.