mdasberg / ng-apimock

Node plugin that provides the ability to use scenario based api mocking: for local development for protractor testing
MIT License
99 stars 26 forks source link

Feature: load global variables as an object / string #14

Closed wswebcreation closed 7 years ago

wswebcreation commented 7 years ago

Current: We now need to add each global variable per key (for local development and also for protractor tests)

Desired situation: It would be nice if we can add global variables as an object / string like this

[{
    name: 'key1', 
    value: '1'
}, {
    name: 'key2',
    value: '2'
}]

// or
key1::'1'::key2::'2'
mdasberg commented 7 years ago

just release v1.4.0 which contains this feature