-
Is there an alternative or newer version that works with const?
-
Some background: I mock many things when writing unit tests for my libraries. In order to make sure I mock things the right way, I assign the type of the original functions to my mocks.
Let's imagi…
stouf updated
6 years ago
-
I apologize for spamming #14
So I believe my issue was a result of the unit tests operating under the assumption that I have access to a repository called `stevemaotest/conventional-github-releaser-…
-
I would suggest adding tests to each one of the examples. Testing is a big subject and lots of people that are interested in a serverless architecture may be wondering how one is being tested. Your re…
-
I set `PELIAS_CONFIG` in my `.bashrc` file so that `pelias.json` does not clutter up my home directory. However, I have to unset that variable in order for the tests to pass.
-
Following [install multiple versions](https://github.com/elastic/elasticsearch-js#install-multiple-versions)
I have
```
"dependencies": {
"es6": "npm:@elastic/elasticsearch@^6.7.0",
"es7…
-
-
When trying to mock a dependency as per [this example](https://github.com/vuejs/vueify-example/blob/master/test/unit/a.spec.js#L22-L43) which is referenced in the test I get an error:
``` sh
{ [Synt…
-
A couple of issues with a huge pile of comments shows there is some confusion as to how (if at all possible) one can stub constructors in ES6/ES2015 classes. This has been answered in the comments, bu…
-
Running macOS Catalina 10.15.7 and noble 1.9.2-12 with either node 12 and node 14 fails with this error:
```
patrickleiser$ node bluetooth.js
/Users/username/path/to/project/node_modules/@aband…