Testing a package
See original GitHub issueSpecs
- Leon version: 1.0.0-beta.3
- OS (or browser) version: Firefox
- Node.js version: 10.16.0
- Complete “npm run check” output: Hooray! Leon can run correctly
- (if using Docker) Complete “npm run docker:check” output: nope
- (optional) Leon package version:
Expected Behavior
I’ve written this package but leon is able to recognize only the first expression set even if I ask him something different that should match other expression sets. So I tried to momentarly remove the first expression set and see what would happen. This is the result, but it’s not very informative to me.
Actual Behavior
.: NER :.
➡ Searching for entities...
(node:69002) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'entities' of undefined
at Promise (/Users/federico/Dropbox/GitHub/leon/server/dist/core/ner.js:57:49)
at new Promise (<anonymous>)
at Ner.extractActionEntities (/Users/federico/Dropbox/GitHub/leon/server/dist/core/ner.js:37:12)
at Nlu.process (/Users/federico/Dropbox/GitHub/leon/server/dist/core/nlu.js:159:37)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:69002) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
How Do We Reproduce?
You might need the package…
Extra (like a sample repo to reproduce the issue, etc.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Package Testing & Package Validation | Westpak
What types of packaging testing methods are there? · Amazon package testing · Distribution testing · Drop testing · Vibration testing · Compression...
Read more >What is Package Testing?
Package testing is used to inspect a variety of aspects of industrial packaging products and it ensures the best packaging possible.
Read more >Package Testing Methods & Testing Procedures - ESL Labs
Package testing includes packaging materials, packaging components, primary packages, shipping containers, and unit loads. Testing measures the effects and ...
Read more >Five Different Types of Package Testing | Creopack
A package can be subjected to a compression test · It is worth testing a package under different climate conditions · Testing a...
Read more >testing - Go Packages
To write a new test suite, create a file whose name ends _test.go that contains the TestXxx functions as described here. Put the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works I’ll make a PR
PR #108