Jacques Desmarais
Jacques Desmarais
OMG I think that's exactly what I wanted! I'll give it a try and let you know. Thanks Matt!
Hi @mattphillips , your suggestion works great! Thanks so much! Can I do something similar with jest-chain?
This worked for me: ``` import chain from 'jest-chain/dist/chain' import matchers from 'jest-extended/dist/matchers' import expect_ from 'expect' expect_.extend(matchers) const expect = chain(expect_) ``` So now I can do both chaining...
Hi, sorry for the late reply. You can close this issue if you'd like.
I'm sorry for the late reply. You can close this issue if you'd like.
When I remove the 'global' keyword, then the error message becomes: ``` $ lite -es6 blog-example-dns.lite.md LiteScript-to-js v0.8.9 Build Date Thu Oct 23 2014 07:54:38 GMT-0300 (ART) compiler options: {"verboseLevel":1,"warningLevel":1,"comments":1,"target":"js","outDir":"generated/js","perf":0,"generateSourceMap":true,"defines":[],"includeDirs":[],"projectDir":".","mainModuleName":"blog-example-dns.lite.md","storeMessages":false,"now":"2015-01-11T06:53:34.231Z","es6":true}...
Using the 'lite -s' flag, code generation is successful: ``` $ lite -es6 -s blog-example-dns.lite.md LiteScript-to-js v0.8.9 Build Date Thu Oct 23 2014 07:54:38 GMT-0300 (ART) compiler options: {"verboseLevel":1,"warningLevel":1,"comments":1,"target":"js","outDir":"generated/js","perf":0,"generateSourceMap":true,"single":true,"defines":[],"includeDirs":[],"projectDir":".","mainModuleName":"blog-example-dns.lite.md","storeMessages":false,"now":"2015-01-11T08:02:53.500Z","es6":true} cwd:...
Then, when I try to run it, I get the following error: ``` $ /usr/local/bin/node -v v0.13.0-pre $ /usr/local/bin/node --harmony generated/js/blog-example-dns.js /data/projects/LiteScript/doc/generated/js/blog-example-dns.js:17 nicegen.run(this, resolveAndParallelReverse_generator, arguments); ^ TypeError: undefined is not...
Hi @luciotato , I'm sorry I never saw your reply until now. I have practically no recollection of this discussion. You can close the issue if you'd like.