-
The proxy.isProxy() function doesn't check for null before checking for the __id string in an object (when calling .Mock.ofInstance).
Here's a rough replication of the issue in raw JS:
```java…
-
I read the issue at https://github.com/padraic/mockery/issues/443 and think this is slightly different, hence the new issue.
I have a class which has some static methods on that I wish to mock out. S…
-
#### What is this feature about (expected vs actual behaviour)?
I want to define another configuration for a datasource than the global config of the driver. Twitter for instance uses HTTP POST for d…
-
having following gulp file
``` js
var gulp = require('gulp');
var api = require('gulp-json-srv');
gulp.task('mock-api-start', function () {
api.start({
data: 'db.json',
port: 3004…
-
Node version: 5.5.0
npm version: 3.8.9
Operating system: OSX El Capitan, 10.11.2
Command line used: npm start -s
Steps to reproduce:
I'm stuck at this point: https://app.pluralsight.com/player?co…
-
nei build 指定--webroot --viewroot 为nei -p 不同盘符下的路径时,生成的jtr.js中 webroot、viewroot、mockTpl、mockApi 使用相对路径寻址错误。
例如:
- 工作目录为:C:\Users\hzwenjinlu
- 执行的nei build命令为:nei instal 11934 -t webapp --webRoot "D:\n…
-
I installed the homebridge on my MacBook … should works fine - I see the homebridge in EVE but I do not see the plug-in :-(
The plugin was installed with: `sudo npm install -g homebridge-netatmo`
It …
-
**I'm submitting a feature request**
- **Library Version:**
1.0.0
- **Language:**
ESNext
**Current behavior:**
I'm using aurelia-i18next so I have a page like this:
```
import {inject} from "au…
-
The angular boilerplate for a component unit test can be abstracted into an importable function to clean up spec files.
eg. spec.ts
```
/* beautify ignore:start */
import {it, inject, beforeEachProv…
-
Instead of creating mock data at random for every request, we could create a certain number of mock objects at startup (or lazily) and then return those. References between types could be stored as __…